ソースを参照

avoid regex issue

tags/v3.3
Luke Smith 5年前
コミット
4d411d8179
この署名に対応する既知のキーがデータベースに存在しません GPGキー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


読み込み中…
キャンセル
保存