Skip to content

Commit

Permalink
you know what they say about regular expressions…
Browse files Browse the repository at this point in the history
  • Loading branch information
natesilva committed Mar 4, 2014
1 parent 59773b9 commit 1b7851e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Support/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,8 @@ def validate(quiet=False):

# parse the results

rx = re.compile('^[^:]+\\: line (?P<line>\\d+), ' +
'col (?P<character>\\d+), ' +
'(?P<code>\\w+) - (?P<reason>.+)\\s?(\\((?P<shortname>\\w+)\\))?$')
rx = re.compile('^[^:]+\: line (?P<line>\d+), col (?P<character>\d+), ' +
'(?P<code>\w+) - (?P<reason>.+?)(\s\((?P<shortname>[\w\-]+)\))?$')

issues = []

Expand Down

0 comments on commit 1b7851e

Please sign in to comment.