Message152639
In re, "\A" within a character set should be similar to "\C", but instead it's still interpreted as meaning the start of the string. That's definitely a bug.
If it doesn't do what it's supposed to do, then it's a bug.
regex tries to be backwards compatible with re but fix such bugs.
The only buggy behaviour which it retains in its version 0 (compatible) behaviour is not splitting on a zero-width match, and that's only because GvR believes that some existing code which uses re may rely on that behaviour. In its version 1 (extended) behaviour it does split on a zero-width match. |
|
Date |
User |
Action |
Args |
2012-02-04 18:37:26 | mrabarnett | set | recipients:
+ mrabarnett, georg.brandl, terry.reedy, jcea, sjmachin, ezio.melotti, docs@python |
2012-02-04 18:37:26 | mrabarnett | set | messageid: <1328380646.34.0.0881770948178.issue13899@psf.upfronthosting.co.za> |
2012-02-04 18:37:23 | mrabarnett | link | issue13899 messages |
2012-02-04 18:37:22 | mrabarnett | create | |
|