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 tim.peters
Recipients gvanrossum, tim.peters
Date 2012-10-11.21:45:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349991956.55.0.790151998808.issue16203@psf.upfronthosting.co.za>
In-reply-to
Content
+1.  Note that this really can't be done in user-level code.  For example, consider matching the pattern

a|ab

against the string

ab

Without being _forced_ to consider the "ab" branch, the regexp will match just the "a" branch.  So, e.g., the example code you posted will say "nope, it didn't match (the whole thing)".
History
Date User Action Args
2012-10-11 21:45:56tim.peterssetrecipients: + tim.peters, gvanrossum
2012-10-11 21:45:56tim.peterssetmessageid: <1349991956.55.0.790151998808.issue16203@psf.upfronthosting.co.za>
2012-10-11 21:45:56tim.peterslinkissue16203 messages
2012-10-11 21:45:56tim.peterscreate