Message176812
| Author |
mrabarnett |
| Recipients |
ezio.melotti, mrabarnett, pitrou, sjmachin |
| Date |
2012年12月02日.22:28:55 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1354487335.89.0.0911759006091.issue11204@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Interesting.
In my regex module (http://pypi.python.org/pypi/regex) I have:
bool(regex.match(pat, "bb", regex.VERBOSE)) # True
bool(regex.match(pat, "b{1,3}", regex.VERBOSE)) # False
because I thought that when the VERBOSE flag is turned on it should ignore whitespace except when it's inside a character class, so "b{1, 3}" would be treated as "b{1,3}".
Apparently re has another exception. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年12月02日 22:28:55 | mrabarnett | set | recipients:
+ mrabarnett, sjmachin, pitrou, ezio.melotti |
| 2012年12月02日 22:28:55 | mrabarnett | set | messageid: <1354487335.89.0.0911759006091.issue11204@psf.upfronthosting.co.za> |
| 2012年12月02日 22:28:55 | mrabarnett | link | issue11204 messages |
| 2012年12月02日 22:28:55 | mrabarnett | create |
|