diff options
author | Guido van Rossum <guido@python.org> | 1997-08-13 22:34:14 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-08-13 22:34:14 +0000 |
commit | db34d88a09b66711e47da84c69c89ffba50960f4 (patch) | |
tree | 2ec019d069e8eb7cc7ba238b452ee107a9595f32 /Lib/test/regex_tests.py | |
parent | 2f79ae1a730d7cb39780bc4aa5f907db7f85dbae (diff) | |
download | cpython-db34d88a09b66711e47da84c69c89ffba50960f4.tar.gz |
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 70ecdab9d3..dcb980a006 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'), ] |