diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-23 23:20:30 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-23 23:20:30 +0200 |
commit | be38458d38f80ff5c8ba6a822dea6979b04307ac (patch) | |
tree | 38e8c3aa55594066afe88de4ba4203055e30061d /Modules/sre.h | |
parent | 5c62e0d862e5dc59bb40812eb378cc79ec0c7502 (diff) | |
download | cpython-be38458d38f80ff5c8ba6a822dea6979b04307ac.tar.gz |
Issue #16203: Add re.fullmatch() function and regex.fullmatch() method,
which anchor the pattern at both ends of the string to match.
Original patch by Matthew Barnett.
Diffstat (limited to 'Modules/sre.h')
-rw-r--r-- | Modules/sre.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/sre.h b/Modules/sre.h index 42fe28d554..621e2d88d5 100644 --- a/Modules/sre.h +++ b/Modules/sre.h @@ -86,6 +86,7 @@ typedef struct { SRE_REPEAT *repeat; /* hooks */ SRE_TOLOWER_HOOK lower; + int match_all; } SRE_STATE; typedef struct { |