Fix email address pattern, it can starts with digit

This commit is contained in:
Shengyu Zhang 2017-03-10 15:42:46 +08:00 committed by TingPing
parent 30a223a6cb
commit 99bdc4f251
1 changed files with 1 additions and 1 deletions

View File

@ -601,7 +601,7 @@ re_url (void)
} }
/* EMAIL description --- */ /* EMAIL description --- */
#define EMAIL "[a-z][._%+-a-z0-9]+@" "(" HOST_URL ")" #define EMAIL "[a-z0-9][._%+-a-z0-9]+@" "(" HOST_URL ")"
static const GRegex * static const GRegex *
re_email (void) re_email (void)