changeset 10282 | 08a0f04b56bd |
parent 10263 | 25e572394f5c |
child 12133 | b046b90c4ae5 |
--- a/mercurial/match.py Mon Jan 25 00:05:22 2010 -0600 +++ b/mercurial/match.py Mon Jan 25 00:05:27 2010 -0600 @@ -125,10 +125,11 @@ res = '' group = 0 escape = re.escape - def peek(): return i < n and pat[i] + def peek(): + return i < n and pat[i] while i < n: c = pat[i] - i = i+1 + i += 1 if c not in '*?[{},\\': res += escape(c) elif c == '*':