[issue14461] In re's positive lookbehind assertion documentation match() cannot match

2012-04-28 Thread Ezio Melotti
Ezio Melotti added the comment: Technically you are correct, however using zero-width classes inside a lookbehind doesn't make much sense, because the result would be equivalent even without lookbehind. I replaced 'never' with 'not', because usually it will not match, except in these corner c

[issue14461] In re's positive lookbehind assertion documentation match() cannot match

2012-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7c262962b681 by Ezio Melotti in branch '2.7': #14461: fix wording. http://hg.python.org/cpython/rev/7c262962b681 New changeset 7f35da912739 by Ezio Melotti in branch '3.2': #14461: fix wording. http://hg.python.org/cpython/rev/7f35da912739 New cha

[issue14461] In re's positive lookbehind assertion documentation match() cannot match

2012-04-01 Thread py.user
New submission from py.user : http://docs.python.org/py3k/library/re.html "Note that patterns which start with positive lookbehind assertions will never match at the beginning of the string being searched; you will most likely want to use the search() function rather than the match() function:"