diff options
author | Luke Smith <luke@lukesmith.xyz> | 2021-02-26 12:37:13 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2021-02-26 12:37:13 -0500 |
commit | 4d411d81798f652fcdfd55d866c4e78f8867a9bc (patch) | |
tree | 3d211ed48475a0184413b7bc5d52a726f940dbd9 /bin/mw | |
parent | 203fa4f68eda843098f65f7ccd03caedf8231878 (diff) |
avoid regex issue
Diffstat (limited to 'bin/mw')
-rwxr-xr-x | bin/mw | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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-Za-z]+$"; do echo "\`$fulladdr\` is not a valid email address. Please retype the address:" read -r fulladdr done |