matchcompiler: fixed hang. don't know why it hangs.
This commit is contained in:
parent
301a5527f5
commit
9bd222970e
|
@ -92,7 +92,7 @@ def compilePattern(pattern, nr):
|
|||
|
||||
|
||||
def findMatchPattern(line):
|
||||
res = re.search(r'Token::s?i?m?p?l?e?Match[(](([^(,]+([(][^()]*[)])?)+)\s*,\s*"([^"]+)"[)]', line)
|
||||
res = re.search(r'Token::s?i?m?p?l?e?Match[(](([^(,]+([(][^()]*[)])?){1,4})\s*,\s*"([^"]+)"[)]', line)
|
||||
return res
|
||||
|
||||
def convertFile(srcname, destname):
|
||||
|
|
Loading…
Reference in New Issue