matchcompiler: fixed hang. don't know why it hangs.

This commit is contained in:
Daniel Marjamäki 2012-12-04 23:38:49 +01:00
parent 301a5527f5
commit 9bd222970e
1 changed files with 1 additions and 1 deletions

View File

@ -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):