[issue13899] re pattern r"[\A]" should work like "A" but matches nothing. Ditto B and Z.

Feb. 3, 2012
9:08 p.m.
Matthew Barnett <python@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@bugs.python.org> <http://bugs.python.org/issue13899> _______________________________________
4769
Age (days ago)
4769
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matthew Barnett