summaryrefslogtreecommitdiff
path: root/Modules/sre.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-23 23:20:30 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-23 23:20:30 +0200
commitbe38458d38f80ff5c8ba6a822dea6979b04307ac (patch)
tree38e8c3aa55594066afe88de4ba4203055e30061d /Modules/sre.h
parent5c62e0d862e5dc59bb40812eb378cc79ec0c7502 (diff)
downloadcpython-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.h1
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 {