[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

Alex Willmer report at bugs.python.org
Fri Nov 12 00:48:58 CET 2010


Alex Willmer <alex at moreati.org.uk> added the comment:

On Thu, Nov 11, 2010 at 10:20 PM, Vlastimil Brom <report at bugs.python.org> wrote:
> Maybe I am missing something, but the result in regex seem ok to me:
> \A is treated like A in a character set;

I think it's me who missed something. I'd assumed that all backslash
patterns (including \A for beginning of string) maintain their meaning
in a character class. AFAICT that assumption was wrong.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2636>
_______________________________________


More information about the Python-bugs-list mailing list