blockcheck: fix regexp

This commit is contained in:
bol-van 2021-12-08 21:08:03 +03:00
parent b7d31557ce
commit 2f6dd90b92

View File

@ -139,7 +139,7 @@ hdrfile_location()
# $1 - hdr file
# some DPIs return CRLF line ending
tr -d '\015' <"$1" | sed -nre 's/^[L|l][O|o][C|c][A|a][T|t][I|i][O|o][N|n]:[ \t]*([^ \t]*)[ \t]*$/\1/p'
tr -d '\015' <"$1" | sed -nre 's/^[Ll][Oo][Cc][Aa][Tt][Ii][Oo][Nn]:[ \t]*([^ \t]*)[ \t]*$/\1/p'
}
curl_test_http()
{