Show More
@@ -503,6 +503,9 b' def tsttest(test, options):' | |||||
503 |
|
503 | |||
504 | def rematch(el, l): |
|
504 | def rematch(el, l): | |
505 | try: |
|
505 | try: | |
|
506 | # hack to deal with graphlog, which looks like bogus regexes | |||
|
507 | if el.startswith('|'): | |||
|
508 | el = '\\' + el | |||
506 | return re.match(el, l) |
|
509 | return re.match(el, l) | |
507 | except re.error: |
|
510 | except re.error: | |
508 | # el is an invalid regex |
|
511 | # el is an invalid regex |
General Comments 0
You need to be logged in to leave comments.
Login now