Serhiy Storchaka added the comment:
Current (after issue22364) error message is:
>>> re.match('(?<foo>.*)', 'foo')
Traceback (most recent call last):
...
sre_constants.error: unknown extension ?<f at position 1
Is it good enough or should be improved? In regex this syntax is legal and no
error is raised.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue6650>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com