]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add re.fullmatch() function and regex.fullmatch() method, which anchor the
authorGeorg Brandl <georg@python.org>
Sun, 13 Oct 2013 07:18:45 +0000 (09:18 +0200)
committerGeorg Brandl <georg@python.org>
Sun, 13 Oct 2013 07:18:45 +0000 (09:18 +0200)
commit4300019e1a6b20f6e2e780a36d96d795c9e71a6f
treed198489f28f652705acb40993adb686cd1ce917f
parent57841ddb5cc347884ff91c619007c43bf6a18a6b
Add re.fullmatch() function and regex.fullmatch() method, which anchor the
pattern at both ends of the string to match.

Patch by Matthew Barnett.
Closes #16203.
Doc/library/re.rst
Lib/re.py
Lib/test/test_re.py
Modules/_sre.c
Modules/sre.h