1
0
Fork 0

prefsCleaner.sh: Fix invalid regular expression (#1258)

This commit is contained in:
a1346054 2021-09-28 19:24:54 +00:00 committed by GitHub
parent 5cdea955e7
commit 6381b1aeb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ fClean() {
if [[ "$line" =~ $prefexp && $prefs != *"@@${BASH_REMATCH[1]}@@"* ]]; then
prefs="${prefs}${BASH_REMATCH[1]}@@"
fi
done <<< "$(grep -E \"$prefexp\" user.js)"
done <<< "$(grep -E "$prefexp" user.js)"
while IFS='' read -r line || [[ -n "$line" ]]; do
if [[ "$line" =~ ^$prefexp ]]; then