Преглед изворни кода

avoid regex issue

tags/v3.3
Luke Smith пре 3 година
родитељ
комит
4d411d8179
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      bin/mw

+ 1
- 1
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-Za-z]+$"; do
echo "\`$fulladdr\` is not a valid email address. Please retype the address:"
read -r fulladdr
done


Loading…
Откажи
Сачувај