From: Finn B. <bc...@us...> - 2002-05-30 19:52:26
|
Update of /cvsroot/jython/bugtests In directory usw-pr-cvs1:/tmp/cvs-serv24230 Added Files: test362.py Log Message: Test for "[ 545235 ] unexpected match with re" --- NEW FILE: test362.py --- """ [ 545235 ] unexpected match with re """ import support import re rt = re.compile(r'c[^a]*t', re.IGNORECASE) if rt.match("cat") is not None: raise support.TestError('Should not match #1') rs = re.compile(r'c[^a]t', re.IGNORECASE) if rs.match('cat') is not None: raise support.TestError('Should not match #2') |