Skip to content

Commit

Permalink
Convert regex to non-greedy form
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonforal committed Jan 15, 2025
1 parent 2e4347d commit 286d9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# Strip the null byte added by -z
tr '\0' '\n' |
# Get any strings present
grep -Po '".*?"' |
grep -Po '"[^"]*"' |
# Delete quotation marks
tr -d '"' |
# Convert each newline to a space
Expand Down

0 comments on commit 286d9cb

Please sign in to comment.