equal
deleted
inserted
replaced
1286 groupsize = 0 |
1286 groupsize = 0 |
1287 groupsize += piecesize + 1 |
1287 groupsize += piecesize + 1 |
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)) |
1295 allmatchers = [_rematcher(g) for g in allgroups] |
1295 allmatchers = [_rematcher(g) for g in allgroups] |
1296 func = lambda s: any(m(s) for m in allmatchers) |
1296 func = lambda s: any(m(s) for m in allmatchers) |