Match compiler: Allow multiple spaces / no space at all when searching for C-strings
This catches 32 more C strings.
This commit is contained in:
parent
374af15bd4
commit
07231c832c
|
@ -569,9 +569,9 @@ class MatchCompiler:
|
||||||
|
|
||||||
def _replaceCStrings(self, line):
|
def _replaceCStrings(self, line):
|
||||||
while True:
|
while True:
|
||||||
match = re.search('str\(\) (==|!=) "', line)
|
match = re.search('str\(\) *(==|!=) *"', line)
|
||||||
if not match:
|
if not match:
|
||||||
match = re.search('strAt\(.+?\) (==|!=) "', line)
|
match = re.search('strAt\(.+?\) *(==|!=) *"', line)
|
||||||
if not match:
|
if not match:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue