From 1b7851e93db46651faaf3a9231c6324bb3e4acfd Mon Sep 17 00:00:00 2001 From: Nate Silva Date: Tue, 4 Mar 2014 13:54:59 -0800 Subject: [PATCH] =?UTF-8?q?you=20know=20what=20they=20say=20about=20regula?= =?UTF-8?q?r=20expressions=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Support/validate.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Support/validate.py b/Support/validate.py index 4d45af0..99b7a9a 100755 --- a/Support/validate.py +++ b/Support/validate.py @@ -295,9 +295,8 @@ def validate(quiet=False): # parse the results - rx = re.compile('^[^:]+\\: line (?P\\d+), ' + - 'col (?P\\d+), ' + - '(?P\\w+) - (?P.+)\\s?(\\((?P\\w+)\\))?$') + rx = re.compile('^[^:]+\: line (?P\d+), col (?P\d+), ' + + '(?P\w+) - (?P.+?)(\s\((?P[\w\-]+)\))?$') issues = []