Sfoglia il codice sorgente

avoid regex issue

tags/v3.3
Luke Smith 3 anni fa
parent
commit
4d411d8179
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4C50B54A911F6252
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw Vedi File

@@ -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


Caricamento…
Annulla
Salva