From: abn Date: Thu, 2 May 2019 09:20:00 +0000 (+0200) Subject: CaseReader: minor bug fix in reg exp ... X-Git-Tag: V9_4_0a1~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=844b1a4785909ad42206965838a6d0f826dfb5c1;p=tools%2Fmedcoupling.git CaseReader: minor bug fix in reg exp ... --- diff --git a/src/MEDLoader/Swig/CaseReader.py b/src/MEDLoader/Swig/CaseReader.py index 56296451c..403c3fb6a 100644 --- a/src/MEDLoader/Swig/CaseReader.py +++ b/src/MEDLoader/Swig/CaseReader.py @@ -373,7 +373,7 @@ class CaseReader(CaseIO): end=lines.index("TIME\n") pass for i in range(ind + 1,end): - m=re.match("^([\w]+)[\s]+\per[\s]+([\w]+)[\s]*\:[\s]*[0-9]*[\s]*([\w]+)[\s]+([\S]+)$",lines[i]) + m=re.match("^([\w]+)[\s]+per[\s]+([\w]+)[\s]*\:[\s]*[0-9]*[\s]*([\w]+)[\s]+([\S]+)$",lines[i]) if m: if m.groups()[0]=="constant": continue