Skip to content

Commit 4d0de7b

Browse files
authored
feat: Update grep to use perl-regexp option (#5)
* feat: Update grep to use perl-regexp option * Update copyright year in README.md
1 parent 2d2373e commit 4d0de7b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ Example use:
1616
search: "# [a-zA-Z0-9]"
1717
```
1818
19-
© 2023 GitHub • [Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.md) • [MIT License](https://gh.io/mit)
19+
© 2024 GitHub • [Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.md) • [MIT License](https://gh.io/mit)

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ runs:
3131
# So that its still a single \ in bash
3232
3333
echo "Check that $FILE includes $SEARCH"
34-
if grep --extended-regexp "$SEARCH" -- $FILE
34+
if grep --perl-regexp "$SEARCH" -- $FILE
3535
then
3636
echo "Found $SEARCH in $FILE"
3737
else

0 commit comments

Comments
 (0)