Commit 46a39cef authored by Mikaël Salson's avatar Mikaël Salson
Browse files { and } must also be protected in exact mode

parent 4045ed90
......@@ -166,7 +166,7 @@ while read line; do
# Exact: protect any character that may be part of
# a regex
pattern=$(sed -r 's/([^\\])(\.|\||\-|\+|\*|\[|\]|\(|\))/\1\\\2/g' <<< $pattern);;
pattern=$(sed -r 's/([^\\])(\.|\||\-|\+|\*|\[|\]|\(|\)|\{|\})/\1\\\2/g' <<< $pattern);;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment