branch | stable |
changeset 799 | c20c12c560dd |
parent 798 | bca8ef6e70b3 |
child 800 | c4211177a2fc |
--- a/tests/run-tests.py Wed Sep 22 16:05:59 2010 -0500 +++ b/tests/run-tests.py Wed Sep 22 16:05:59 2010 -0500 @@ -506,7 +506,8 @@ # hack to deal with graphlog, which looks like bogus regexes if el.startswith('|'): el = '\\' + el - return re.match(el, l) + # ensure that the regex matches to the end of the string + return re.match(el + r'\Z', l) except re.error: # el is an invalid regex return False