diff options
author | Guido van Rossum <guido@python.org> | 1997-08-13 22:34:14 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-08-13 22:34:14 (GMT) |
commit | 95e8053a9ff42a544197e562fdf4c462fc34e8b4 (patch) | |
tree | 06a4d3c599317f90f7a73027b1648bece2a059b2 /Lib/test/regex_tests.py | |
parent | a74ef66ac82edd5a587606daef57ff6c26279280 (diff) | |
download | cpython-95e8053a9ff42a544197e562fdf4c462fc34e8b4.zip cpython-95e8053a9ff42a544197e562fdf4c462fc34e8b4.tar.gz cpython-95e8053a9ff42a544197e562fdf4c462fc34e8b4.tar.bz2 |
1.5a3 prerelease 1 from AMK
Diffstat (limited to 'Lib/test/regex_tests.py')
-rw-r--r-- | Lib/test/regex_tests.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Lib/test/regex_tests.py b/Lib/test/regex_tests.py index 70ecdab..dcb980a 100644 --- a/Lib/test/regex_tests.py +++ b/Lib/test/regex_tests.py @@ -278,6 +278,12 @@ tests = [ ('\\([xyz]*\\)x', 'abcx', SUCCEED, 'found+"-"+g1', 'x-'), ('\\(a\\)+b\\|aac', 'aac', SUCCEED, - 'found+"-"+g1', 'aac-None') + 'found+"-"+g1', 'aac-None'), +('\<a', 'a', SUCCEED, 'found', 'a'), +('\<a', '!', FAIL), +('a\<b', 'ab', FAIL), +('a\>', 'ab', FAIL), +('a\>', 'a!', SUCCEED, 'found', 'a'), +('a\>', 'a', SUCCEED, 'found', 'a'), ] |