Skip to content

Commit

Permalink
prefsCleaner.sh: Fix invalid regular expression (arkenfox#1258)
Browse files Browse the repository at this point in the history
  • Loading branch information
a1346054 authored Sep 28, 2021
1 parent 5cdea95 commit 6381b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prefsCleaner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6381b1a

Please sign in to comment.