-- enabled some temporarily disabled RE tests

-- added basic unicode tests to test_re
-- added test case for Sjoerd's xmllib problem to re_tests
This commit is contained in:
Fredrik Lundh 2000-08-08 17:06:53 +00:00
parent 2643b55a77
commit 8e6d571a7c
3 changed files with 39 additions and 6 deletions

View file

@ -587,4 +587,10 @@ xyzabc
('\t\n\v\r\f\a\g', '\t\n\v\r\f\ag', SUCCEED, 'found', '\t\n\v\r\f\ag'),
(r'\t\n\v\r\f\a', '\t\n\v\r\f\a', SUCCEED, 'found', chr(9)+chr(10)+chr(11)+chr(13)+chr(12)+chr(7)),
(r'[\t][\n][\v][\r][\f][\b]', '\t\n\v\r\f\b', SUCCEED, 'found', '\t\n\v\r\f\b'),
# additional regression tests (1.6 and later)
# xmllib problem
(r'(([a-z]+):)?([a-z]+)$', 'smil', SUCCEED, 'g1+"-"+g2+"-"+g3', 'None-None-smil'),
]