##// END OF EJS Templates
match: fix re2 compability broken in 2e2699af5649...
marmoute -
r42268:bccb322f default
parent child Browse files
Show More
@@ -1288,7 +1288,7 b' def _buildregexmatch(kindpats, globsuffi'
1288
1288
1289 if startidx == 0:
1289 if startidx == 0:
1290 matcher = _rematcher(fullregexp)
1290 matcher = _rematcher(fullregexp)
1291 func = lambda s: matcher(s) is not None
1291 func = lambda s: bool(matcher(s))
1292 else:
1292 else:
1293 group = regexps[startidx:]
1293 group = regexps[startidx:]
1294 allgroups.append(_joinregexes(group))
1294 allgroups.append(_joinregexes(group))
General Comments 0
You need to be logged in to leave comments. Login now