From 923e59cff7c23c353235e102606cf330e833c0da Mon Sep 17 00:00:00 2001 From: "Georgi D. Karapetrov" Date: Fri, 26 Feb 2021 17:24:31 +0200 Subject: [PATCH] Fixed regex on line 186 of wm --- bin/mw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mw b/bin/mw index 501f2e3..5bb2afb 100755 --- a/bin/mw +++ b/bin/mw @@ -183,7 +183,7 @@ delete() { if [ -z "${fulladdr+x}" ]; then askinfo() { \ [ -z "$fulladdr" ] && echo "Give the full email address to add:" && read -r fulladdr - while ! echo "$fulladdr" | grep -qE "^.+@.+\.[A-z]+$"; do + while ! echo "$fulladdr" | grep -qE "^.+@.+\.[a-Z]+$"; do echo "\`$fulladdr\` is not a valid email address. Please retype the address:" read -r fulladdr done