This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mrabarnett
Recipients akuchling, amaury.forgeotdarc, collinwinter, ezio.melotti, georg.brandl, jimjjewett, mark, moreati, mrabarnett, nneonneo, pitrou, rsc, timehorse
Date 2009-03-01.01:42:12
SpamBayes Score 0.00205146
Marked as misclassified No
Message-id <>
issue2636-features-5.diff includes:

Added \G anchor (from Perl).

\G is the anchor at the start of a search, so'\G(\w)') is
the same as re.match(r'(\w)').

re.findall normally performs a series of searches, each starting where
the previous one finished, but if the pattern starts with \G then it's
like a series of matches:

>>> re.findall(r'\w', 'abc def')
['a', 'b', 'c', 'd', 'e', 'f']
>>> re.findall(r'\G\w', 'abc def')
['a', 'b', 'c']

Notice how it failed to match at the space, so no more results.
Date User Action Args
2009-03-01 01:42:51mrabarnettsetrecipients: + mrabarnett, akuchling, georg.brandl, collinwinter, jimjjewett, amaury.forgeotdarc, pitrou, nneonneo, rsc, timehorse, mark, ezio.melotti, moreati
2009-03-01 01:42:49mrabarnettsetmessageid: <>
2009-03-01 01:42:47mrabarnettlinkissue2636 messages
2009-03-01 01:42:45mrabarnettcreate