mirror of
https://github.com/python/cpython.git
synced 2025-09-24 01:13:22 +00:00
Issue #13169: The maximal repetition number in a regular expression has been
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit).
This commit is contained in:
parent
94bf697b01
commit
e18e05cce9
7 changed files with 68 additions and 15 deletions
|
@ -13,6 +13,7 @@
|
|||
import _sre, sys
|
||||
import sre_parse
|
||||
from sre_constants import *
|
||||
from _sre import MAXREPEAT
|
||||
|
||||
assert _sre.MAGIC == MAGIC, "SRE module mismatch"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue