commit | 9baa5b2de2e1bd4d56791de8144f737f65b89c74 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Mon Sep 29 22:49:23 2014 +0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Mon Sep 29 22:49:23 2014 +0300 |
tree | 59cff121a4d2becfe389a825f1e2b66e8a839c45 | |
parent | c31e6227f94c2bb0290336c739873173672a8991 [diff] [blame] |
Issue #22437: Number of capturing groups in regular expression is no longer limited by 100.
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py index 23e3516..8815d1d 100644 --- a/Lib/sre_constants.py +++ b/Lib/sre_constants.py
@@ -15,7 +15,7 @@ MAGIC = 20031017 -from _sre import MAXREPEAT +from _sre import MAXREPEAT, MAXGROUPS # SRE standard exception (access as sre.error) # should this really be here?