Merge pull request #1 from Zegnat/patch-1
Fix link to HTML’s email regular expression.
This commit is contained in:
Коммит
2eddae79ea
2
spec.txt
2
spec.txt
|
@ -5447,7 +5447,7 @@ and the URL is `mailto:` followed by the email address.
|
|||
An [email address](#email-address), <a id="email-address"/>
|
||||
for these purposes, is anything that matches
|
||||
the [non-normative regex from the HTML5
|
||||
spec](http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#e-mail-state-%28type=email%29):
|
||||
spec](http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#e-mail-state-%28type=email%29):
|
||||
|
||||
/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?
|
||||
(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/
|
||||
|
|
Загрузка…
Ссылка в новой задаче