Ezra Berch added the comment:
Patch attached. I've taken a slightly different approach than what has been
discussed here: rather than define a new fullmatch() function and method, I've
defined a new re.FULLMATCH flag for match(). So an example would be
re.match('abc','abc',re.FULLMATCH)
The implementation is basically what has been discussed here, except done when
the regular expression is compiled rather than at the user level.
----------
keywords: +patch
nosy: +ezberch
Added file: http://bugs.python.org/file28140/issue16203.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16203>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com