Matthew Barnett <pyt...@mrabarnett.plus.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13899>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to