Show More
@@ -254,7 +254,7 b' def _buildmatch(pats, tail):' | |||||
254 | l = len(pats) |
|
254 | l = len(pats) | |
255 | if l < 2: |
|
255 | if l < 2: | |
256 | raise |
|
256 | raise | |
257 |
pata, a = _buildmatch(pats[:l//2], tail) |
|
257 | pata, a = _buildmatch(pats[:l//2], tail) | |
258 | patb, b = _buildmatch(pats[l//2:], tail) |
|
258 | patb, b = _buildmatch(pats[l//2:], tail) | |
259 | return pat, lambda s: a(s) or b(s) |
|
259 | return pat, lambda s: a(s) or b(s) | |
260 | except re.error: |
|
260 | except re.error: |
General Comments 0
You need to be logged in to leave comments.
Login now