bumped SRE version number to 2.1. cleaned up and added 1.5.2

compatibility patches.
This commit is contained in:
Fredrik Lundh 2001-01-16 07:37:30 +00:00
parent dfb673b457
commit 1c5aa6901f
4 changed files with 76 additions and 44 deletions

View file

@ -181,7 +181,7 @@ def _split(pattern, string, maxsplit=0):
continue
append(string[i:b])
if g and b != e:
extend(m.groups())
extend(list(m.groups()))
i = e
n = n + 1
append(string[i:])