We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e52f3af commit ba87337Copy full SHA for ba87337
.github/workflows/add-redirects.yml
@@ -85,7 +85,7 @@ jobs:
85
redirect='${prefix}/${version}'"$old"'/ -> ${base}/${version}/'
86
87
# if redirect not already in file, add to string to add to PR description
88
- escaped_redirect=$(printf '%s\n' "$redirect" | sed 's/[.[\*^$()+?{}|\\]/\\&/g')
+ escaped_redirect=$(printf '%s\n' "$redirect" | sed 's/[[*${}|\\]/\\&/g')
89
if ! grep -qE "${escaped_redirect}$" "$REDIRECTS_FILE"; then
90
deleted_redirects+="<li>[<v>-*]: $redirect</li>"
91
fi
0 commit comments