Skip to content

Commit

Permalink
Trim leading words from the file path regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidy22 committed Apr 28, 2022
1 parent 2f5a889 commit bee0e3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion guake/globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def is_run_from_git_workdir():
),
(
"line starts by 'ERROR in Filename:line' pattern (GCC/make). File path should exists.",
r"\s.\S[^\s\s].[a-zA-Z0-9\/\_\-\.\ ]+\.?[a-zA-Z0-9]+\:[0-9]+",
r"[a-zA-Z0-9\/\_\-\.\]+\.?[a-zA-Z0-9]+\:[0-9]+",
r"\s.\S[^\s\s].(.*)\:([0-9]+)",
),
(
Expand Down
6 changes: 6 additions & 0 deletions releasenotes/notes/file_open_regex-1a6db403d54601e0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
release_summary: >
Make file link matcher not match leading words.
fixes:
- |
- Spec files not recognized as links #1032

0 comments on commit bee0e3c

Please sign in to comment.