I can confirm your finding, I think the problem is in:

is_domain(){ echo "$1" | grep -qE '^([a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]\.)*[a-zA-Z]{2,}$'; }

I do not have time today to make a PR but usually stangri also keeps an eye on this thread

3 Likes