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 | mark.dickinson |
|---|---|
| Recipients | jorendorff, mark.dickinson |
| Date | 2008年04月04日.17:41:10 |
| SpamBayes Score | 0.21282268 |
| Marked as misclassified | No |
| Message-id | <1207330928.97.0.909826058579.issue2537@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I'm almost tempted to call the first of these a bug: isn't '((x|y)*)*' a perfectly valid (albeit somewhat redundant) regular expression? What am I missing here? Even if there are issues with capturing, shouldn't the version without capturing subexpressions still work? I get: >>> re.compile(r'(?:(?:x|y)*)*') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.5/re.py", line 180, in compile return _compile(pattern, flags) File "/usr/lib/python2.5/re.py", line 233, in _compile raise error, v # invalid expression sre_constants.error: nothing to repeat |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年04月04日 17:42:09 | mark.dickinson | set | spambayes_score: 0.212823 -> 0.21282268 recipients: + mark.dickinson, jorendorff |
| 2008年04月04日 17:42:09 | mark.dickinson | set | spambayes_score: 0.212823 -> 0.212823 messageid: <1207330928.97.0.909826058579.issue2537@psf.upfronthosting.co.za> |
| 2008年04月04日 17:41:12 | mark.dickinson | link | issue2537 messages |
| 2008年04月04日 17:41:11 | mark.dickinson | create | |