summaryrefslogtreecommitdiff
path: root/Lib/sre_constants.py
diff options
context:
space:
mode:
authorGustavo Niemeyer <gustavo@niemeyer.net>2003-10-17 22:13:16 +0000
committerGustavo Niemeyer <gustavo@niemeyer.net>2003-10-17 22:13:16 +0000
commit51fe8e78b63075bdd3c31b3ffc3271db6a1e0460 (patch)
treec3a2143318b57bbdcabccefe93f7a382607ca108 /Lib/sre_constants.py
parentb9db49db962057c9d93840eeaa2624444d661247 (diff)
downloadcpython-51fe8e78b63075bdd3c31b3ffc3271db6a1e0460.tar.gz
Implemented non-recursive SRE matching.
Diffstat (limited to 'Lib/sre_constants.py')
-rw-r--r--Lib/sre_constants.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py
index fa009c12c5..002b195fe1 100644
--- a/Lib/sre_constants.py
+++ b/Lib/sre_constants.py
@@ -13,7 +13,7 @@
# update when constants are added or removed
-MAGIC = 20030419
+MAGIC = 20031017
# max code word in this release
@@ -42,6 +42,7 @@ CATEGORY = "category"
CHARSET = "charset"
GROUPREF = "groupref"
GROUPREF_IGNORE = "groupref_ignore"
+GROUPREF_EXISTS = "groupref_exists"
IN = "in"
IN_IGNORE = "in_ignore"
INFO = "info"
@@ -108,7 +109,7 @@ OPCODES = [
CALL,
CATEGORY,
CHARSET, BIGCHARSET,
- GROUPREF, GROUPREF_IGNORE,
+ GROUPREF, GROUPREF_EXISTS, GROUPREF_IGNORE,
IN, IN_IGNORE,
INFO,
JUMP,