Skip to content

Commit 16d5e4a

Browse files
Ronomannuclearsandwich
authored andcommitted
Update RegEx comment
Co-authored-by: Steven! Ragnarök <[email protected]> Signed-off-by: Eli Benevedes <[email protected]>
1 parent 8703010 commit 16d5e4a

File tree

1 file changed

+1
-1
lines changed
  • ament_clang_tidy/ament_clang_tidy

1 file changed

+1
-1
lines changed

ament_clang_tidy/ament_clang_tidy/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def start_subprocess(full_cmd):
219219
# (\/home\/^[^:]*) : Group capture. Everything from `/home/` up until a `:`.
220220
# (\d+) : Group capture. Grabs line number.
221221
# (\d+) : Group capture. Grabs column number.
222-
# (?:warning:|error:note:) : Non-capturing group. Matches warning, error, note.
222+
# (?:warning:|error:|note:) : Non-capturing group. Matches warning, error, note.
223223
# \[(.*)\] : Matches and captures [<rule_name>]. Ignores any messages from clang_tidy without an ending [<rule_name>].
224224
error_re = re.compile('\\s*\^?\/home\/([^:]*):(\\d+):(\\d+): (?:warning:|error:|note:).*\\[(.*)\\]')
225225

0 commit comments

Comments
 (0)