diff --git a/action.yml b/action.yml index f3f1cae..d228f0c 100644 --- a/action.yml +++ b/action.yml @@ -22,7 +22,7 @@ runs: for pattern in (string split --no-empty -- " " $PATTERNS) set -l escaped (string escape --style=script --no-quoted -- $pattern) - set -l escaped (string replace -r -a '\\\([?*{}])' '$1' $escaped) + set -l escaped (string replace -r -a -- '\\\([?*{}])' '$1' $escaped) eval set -l files $escaped