Skip to content

Commit

Permalink
Update linter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mzh330521 committed Jan 23, 2022
1 parent 965a8c7 commit 93a220f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class xvlog(Linter):

regex = (
r'((?P<error>ERROR)|(?P<warning>WARNING)): '
r'(?P<message>([^"\'\n]*(?P<quote>["\'])(?P<near>[^"\']+)(?P=quote))?.*)'
r'(?P<message>([^"\'\n]*(?P<quote>["\'])(?P<near>[^"\']+)(?P=quote))?.*) '
r'\[(?P<file>.*):'
r'(?P<line>\d+)\]'
)
Expand All @@ -33,7 +33,7 @@ class xvlog_sv(Linter):

regex = (
r'((?P<error>ERROR)|(?P<warning>WARNING)): '
r'(?P<message>([^"\'\n]*(?P<quote>["\'])(?P<near>[^"\']+)(?P=quote))?.*)'
r'(?P<message>([^"\'\n]*(?P<quote>["\'])(?P<near>[^"\']+)(?P=quote))?.*) '
r'\[(?P<file>.*):'
r'(?P<line>\d+)\]'
)
Expand All @@ -51,7 +51,7 @@ class xvhdl(Linter):

regex = (
r'((?P<error>ERROR)|(?P<warning>WARNING)): '
r'(?P<message>([^"\'\n]*(?P<quote>["\'])(?P<near>[^"\']+)(?P=quote))?.*)'
r'(?P<message>([^"\'\n]*(?P<quote>["\'])(?P<near>[^"\']+)(?P=quote))?.*) '
r'\[(?P<file>.*):'
r'(?P<line>\d+)\]'
)

0 comments on commit 93a220f

Please sign in to comment.