changeset 44849 | f90957c947f4 |
parent 44831 | 6d3768b11241 |
child 44850 | 8d552701806d |
44848:7e7080ab8ba8 | 44849:f90957c947f4 |
---|---|
3426 p = self.colend |
3426 p = self.colend |
3427 while p < len(self.line): |
3427 while p < len(self.line): |
3428 m = regexp.search(self.line, p) |
3428 m = regexp.search(self.line, p) |
3429 if not m: |
3429 if not m: |
3430 break |
3430 break |
3431 yield m.span() |
3431 if m.end() == p: |
3432 p = m.end() |
3432 p += 1 |
3433 else: |
|
3434 yield m.span() |
|
3435 p = m.end() |
|
3433 |
3436 |
3434 matches = {} |
3437 matches = {} |
3435 copies = {} |
3438 copies = {} |
3436 |
3439 |
3437 def grepbody(fn, rev, body): |
3440 def grepbody(fn, rev, body): |