[docs] [issue13899] re pattern r"[\A]" should work like "A" but matches nothing. Ditto B and Z.
Matthew Barnett
report at bugs.python.org
Sat Feb 4 04:08:52 CET 2012
Matthew Barnett <python at mrabarnett.plus.com> added the comment:
This should answer that question:
>>> re.findall(r"[\A\C]", r"\AC")
['C']
>>> regex.findall(r"[\A\C]", r"\AC")
['A', 'C']
The behaviour of regex is intended to match that of re for backwards compatibility.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13899>
_______________________________________
More information about the docs
mailing list