Skip to content

Commit

Permalink
feat: Update grep to use perl-regexp option (#5)
Browse files Browse the repository at this point in the history
* feat: Update grep to use perl-regexp option

* Update copyright year in README.md
  • Loading branch information
sinsukehlab authored Mar 25, 2024
1 parent 2d2373e commit 4d0de7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Example use:
search: "# [a-zA-Z0-9]"
```
© 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)
© 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)
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
# So that its still a single \ in bash
echo "Check that $FILE includes $SEARCH"
if grep --extended-regexp "$SEARCH" -- $FILE
if grep --perl-regexp "$SEARCH" -- $FILE
then
echo "Found $SEARCH in $FILE"
else
Expand Down

0 comments on commit 4d0de7b

Please sign in to comment.