diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2000-08-01 22:47:49 +0000 |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2000-08-01 22:47:49 +0000 |
commit | f2da466f57548dc0ca3a26a6dfec033abae0cc65 (patch) | |
tree | 5e31b52b9522a472cf36a0325ee8556b145097ba /Lib/sre_constants.py | |
parent | 9aa649a8878ee70b96e776eb2c9c3f21a3401b4d (diff) | |
download | cpython-f2da466f57548dc0ca3a26a6dfec033abae0cc65.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.py | 3 |
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, |