Commit 19d4bbdd authored by Mikaël Salson's avatar Mikaël Salson
Browse files

should-to-tap: \s unknown on FreeBSD

Use [[:space:]] instead of \s for matching whitespaces.
parent 9a150363
......@@ -161,7 +161,7 @@ while read line; do
# Replace whitespaces if needed
if [ $IGNORE_WHITESPACES -ne 0 ]; then
pattern=$(sed -r 's/\s+/[[:space:]]+/g' <<< $pattern)
pattern=$(sed -r 's/[[:space:]]+/[[:space:]]+/g' <<< $pattern)
debug "Grepping \"$pattern\" in $FILE_TO_GREP"
Markdown is supported
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