diff --git a/PyMca5/PyMcaIO/specfilewrapper.py b/PyMca5/PyMcaIO/specfilewrapper.py index 51bb3b7bd..41e4b63ea 100644 --- a/PyMca5/PyMcaIO/specfilewrapper.py +++ b/PyMca5/PyMcaIO/specfilewrapper.py @@ -186,7 +186,7 @@ def __init__(self, filename, amptek=None, qxas=None, dta=None): f = open(filename, 'rb') raw_content = f.read() f.close() - expr = '([-+]?\d+)\t\r\n' + expr = r'([-+]?\d+)\t\r\n' self.data = [float(i) for i in re.split(expr,raw_content) if i != ''] self.data = numpy.array(self.data, numpy.float32) else: