[Python-Dev] Re: sre.split question

Mike Coleman mkc+dated+1091668631.4741a6 at mathdogs.com
Wed Jul 21 03:24:24 CEST 2004

Chris King <colanderman at gmail.com> writes:
> This precludes use of patterns that can successfully match zero-length
> strings (e.g. r'(?<=[A-Za-z])(?=[^A-Za-z])'.

As you say, it's very useful to be able to match such zero-length patterns.  I
posted a patch that fixes this, but have not heard any comments on it.  Please
take a look and post a comment if you like.



More information about the Python-Dev mailing list