summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn van der Ven <martijn@vanderven.se>2014-08-16 00:59:05 +0200
committerMartijn van der Ven <martijn@vanderven.se>2014-08-16 00:59:05 +0200
commite91e207d461d84a2c5ea9d62bb5b0ae6c7679c75 (patch)
tree31b72f868c4661f7690cf7dcb035394bea3f94a6
parent87e6d72da173a17f6cd64f2f9a0b3daba1f34708 (diff)
Fix link to HTML’s email regular expression.
-rw-r--r--spec.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec.txt b/spec.txt
index c27b1fe..7fd5d65 100644
--- a/spec.txt
+++ b/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])?)*$/