Skip to content

Commit

Permalink
Update include and exclude examples to be regex not glob (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Sep 21, 2021
1 parent 0dfd077 commit 3eaedee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
with:
find: "hello"
replace: "world"
include: "justthisdirectory/"
include: "justthisdirectory\/"
```

### Filter by file name
Expand All @@ -81,7 +81,7 @@ jobs:
with:
find: "hello"
replace: "world"
include: "README.md" # Will match all README.md files in any nested directory
include: ".*README\.md" # Will match all README.md files in any nested directory
```

### Exclude by file type
Expand All @@ -101,7 +101,7 @@ jobs:
with:
find: "hello"
replace: "world"
exclude: "*.py" # Do not modify Python files
exclude: ".*\.py" # Do not modify Python files
```

## Publishing
Expand Down

0 comments on commit 3eaedee

Please sign in to comment.