Przeglądaj źródła

avoid regex issue

tags/v3.3
Luke Smith 3 lat temu
rodzic
commit
4d411d8179
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4C50B54A911F6252
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz