[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

Jacques Grove report at bugs.python.org
Sat Oct 30 02:48:17 CEST 2010


Jacques Grove <jacques at tripitinc.com> added the comment:

Here's another inconsistency (same setup as before, running issue2636-20101029.zip code):

$ cat test.py
import re, regex

text = "\n  S"

regexp = '[^a]{2}[A-Z]'
print re.findall(regexp, text)
print regex.findall(regexp, text)

$ python test.py
['  S']
[]


I might flush out some more as I excercise this over the next few days.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2636>
_______________________________________


More information about the Python-bugs-list mailing list