From e186983842f0b27606b141010513fa8e3d0cc5db Mon Sep 17 00:00:00 2001 From: Fredrik Lundh Date: Tue, 1 Aug 2000 22:47:49 +0000 Subject: final 0.9.8 updates: -- added REPEAT_ONE operator -- added ANY_ALL operator (used to represent "(?s).") --- Lib/sre_constants.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Lib/sre_constants.py') 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, -- cgit v1.2.1