浏览代码

avoid regex issue

tags/v3.3
Luke Smith 3 年前
父节点
当前提交
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


正在加载...
取消
保存