[issue25054] Capturing start of line '^'
Alcolo Alcolo
report at bugs.python.org
Thu Sep 10 16:02:01 CEST 2015
Alcolo Alcolo added the comment:
Naively, I thinked that ^ is be considered as a 0-length token (like $, \b, \B), then after capturing it, we can read the next token : 'a' (for the input string "a").
I use a simple work around: prepending my string with ' ' (because ' ' is neutral with my regex results).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25054>
_______________________________________
More information about the Python-bugs-list
mailing list