[issue24636] re.search not respecting anchor markers in or-ed construction

Matthew Barnett report at bugs.python.org
Wed Jul 15 12:35:15 CEST 2015


Matthew Barnett added the comment:

The or-ed patterns aren't between the anchors. The ^ is at the start of the first alternative and the $ is at the end of the last alternative.

----------

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


More information about the Python-bugs-list mailing list