prefsCleaner.sh: Fix invalid regular expression (#1258)
This commit is contained in:
parent
5cdea955e7
commit
6381b1aeb9
@ -48,7 +48,7 @@ fClean() {
|
|||||||
if [[ "$line" =~ $prefexp && $prefs != *"@@${BASH_REMATCH[1]}@@"* ]]; then
|
if [[ "$line" =~ $prefexp && $prefs != *"@@${BASH_REMATCH[1]}@@"* ]]; then
|
||||||
prefs="${prefs}${BASH_REMATCH[1]}@@"
|
prefs="${prefs}${BASH_REMATCH[1]}@@"
|
||||||
fi
|
fi
|
||||||
done <<< "$(grep -E \"$prefexp\" user.js)"
|
done <<< "$(grep -E "$prefexp" user.js)"
|
||||||
|
|
||||||
while IFS='' read -r line || [[ -n "$line" ]]; do
|
while IFS='' read -r line || [[ -n "$line" ]]; do
|
||||||
if [[ "$line" =~ ^$prefexp ]]; then
|
if [[ "$line" =~ ^$prefexp ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user