From 3eaedee5ed6204139f1edb18af1ee349763feac2 Mon Sep 17 00:00:00 2001 From: Jacob Tomlinson Date: Tue, 21 Sep 2021 15:41:41 +0100 Subject: [PATCH] Update include and exclude examples to be regex not glob (#27) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2ef4969..9417457 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ jobs: with: find: "hello" replace: "world" - include: "justthisdirectory/" + include: "justthisdirectory\/" ``` ### Filter by file name @@ -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 @@ -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