equal
deleted
inserted
replaced
505 for pat in l: |
505 for pat in l: |
506 if pat != "\n": |
506 if pat != "\n": |
507 bigpat.append(util.pconvert(pat[:-1])) |
507 bigpat.append(util.pconvert(pat[:-1])) |
508 except IOError: pass |
508 except IOError: pass |
509 if bigpat: |
509 if bigpat: |
510 s = "(%s)" % (")|(".join(bigpat)) |
510 s = "(?:%s)" % (")|(?:".join(bigpat)) |
511 r = re.compile(s) |
511 r = re.compile(s) |
512 self.ignorefunc = r.search |
512 self.ignorefunc = r.search |
513 else: |
513 else: |
514 self.ignorefunc = lambda x: False |
514 self.ignorefunc = lambda x: False |
515 |
515 |