diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-07-02 16:58:38 +0000 |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-07-02 16:58:38 +0000 |
commit | 63f679707037655c3dcf08bf026af58903068da2 (patch) | |
tree | 19e65d92417a2c071921a7a0ab181d3542b8744a /Lib/sre_constants.py | |
parent | f02468d496137490774c22168050814a7d1cb821 (diff) | |
download | cpython-63f679707037655c3dcf08bf026af58903068da2.tar.gz |
added martin's BIGCHARSET patch to SRE 2.1.1. martin reports 2x
speedups for certain unicode character ranges.
Diffstat (limited to 'Lib/sre_constants.py')
-rw-r--r-- | Lib/sre_constants.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py index bbe7880a1d..3296b9425b 100644 --- a/Lib/sre_constants.py +++ b/Lib/sre_constants.py @@ -11,7 +11,7 @@ # update when constants are added or removed -MAGIC = 20010320 +MAGIC = 20010701 # max code word in this release @@ -33,6 +33,7 @@ ANY_ALL = "any_all" ASSERT = "assert" ASSERT_NOT = "assert_not" AT = "at" +BIGCHARSET = "bigcharset" BRANCH = "branch" CALL = "call" CATEGORY = "category" @@ -103,7 +104,7 @@ OPCODES = [ BRANCH, CALL, CATEGORY, - CHARSET, + CHARSET, BIGCHARSET, GROUPREF, GROUPREF_IGNORE, IN, IN_IGNORE, INFO, |