summaryrefslogtreecommitdiff
path: root/Lib/sre_constants.py
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-08-01 22:47:49 +0000
committerFredrik Lundh <fredrik@pythonware.com>2000-08-01 22:47:49 +0000
commite186983842f0b27606b141010513fa8e3d0cc5db (patch)
tree8160cdbd00dc449a79a25cfaa6a16069b4bd74b3 /Lib/sre_constants.py
parentfb06539e999271ea9b07b754d461f2172d65978b (diff)
downloadcpython-git-e186983842f0b27606b141010513fa8e3d0cc5db.tar.gz
final 0.9.8 updates:
-- added REPEAT_ONE operator -- added ANY_ALL operator (used to represent "(?s).")
Diffstat (limited to 'Lib/sre_constants.py')
-rw-r--r--Lib/sre_constants.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py
index e5959150df..5a20930ce1 100644
--- a/Lib/sre_constants.py
+++ b/Lib/sre_constants.py
@@ -20,6 +20,7 @@ FAILURE = "failure"
SUCCESS = "success"
ANY = "any"
+ANY_ALL = "any_all"
ASSERT = "assert"
ASSERT_NOT = "assert_not"
AT = "at"
@@ -81,7 +82,7 @@ OPCODES = [
# failure=0 success=1 (just because it looks better that way :-)
FAILURE, SUCCESS,
- ANY,
+ ANY, ANY_ALL,
ASSERT, ASSERT_NOT,
AT,
BRANCH,