diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-07-02 16:58:38 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-07-02 16:58:38 (GMT) |
commit | 19af43d78a8bd85dc39ea62cc4bc130778cfc643 (patch) | |
tree | 4fbc04abf1aad5dc594182739535acfbeb40ca63 /Lib/sre_constants.py | |
parent | 1fb5ce0323926406e6b3db6879152e0dcc40f5ec (diff) | |
download | cpython-19af43d78a8bd85dc39ea62cc4bc130778cfc643.zip cpython-19af43d78a8bd85dc39ea62cc4bc130778cfc643.tar.gz cpython-19af43d78a8bd85dc39ea62cc4bc130778cfc643.tar.bz2 |
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 bbe7880..3296b94 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, |