- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 10 Jan 2012 01:57:55 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv28454
Modified Files:
Overview.html spec.html spec.preprocessed.html
states-of-the-type-attribute.html
Log Message:
Add a note about how to implement type=email checking with a regular expression. (whatwg r6884)
[updated by splitter]
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/Overview.html,v
retrieving revision 1.1729
retrieving revision 1.1730
diff -u -d -r1.1729 -r1.1730
--- Overview.html 10 Jan 2012 01:04:12 -0000 1.1729
+++ Overview.html 10 Jan 2012 01:57:47 -0000 1.1730
@@ -170,7 +170,7 @@
<dt>Editor:</dt>
<dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd>
</dl><p>This specification is available in the following formats: <a href="spec.html">single page HTML</a>, <a href="Overview.html">multipage HTML</a>, <a href="http://dev.w3.org/html5/spec/">full specification</a>.
- This is revision 1.5481.</p>
+ This is revision 1.5482.</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.html,v
retrieving revision 1.1863
retrieving revision 1.1864
diff -u -d -r1.1863 -r1.1864
--- spec.html 10 Jan 2012 01:04:12 -0000 1.1863
+++ spec.html 10 Jan 2012 01:57:47 -0000 1.1864
@@ -171,7 +171,7 @@
<dt>Editor:</dt>
<dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd>
</dl><p>This specification is available in the following formats: <a href="spec.html">single page HTML</a>, <a href="Overview.html">multipage HTML</a>, <a href="http://dev.w3.org/html5/spec/">full specification</a>.
- This is revision 1.5481.</p>
+ This is revision 1.5482.</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts
@@ -18444,7 +18444,18 @@
simultaneously too strict (before the "@" character), too vague
(after the "@" character), and too lax (allowing comments,
whitespace characters, and quoted strings in manners unfamiliar to
- most users) to be of practical use here.</p><p>A <dfn aria-haspopup="true" id="valid-e-mail-address-list" role="button" tabindex="0">valid e-mail address list</dfn> is a <a href="#set-of-comma-separated-tokens" id="set-of-comma-separated-tokens_2">set of
+ most users) to be of practical use here.</p><div class="note">
+
+
+
+ <p>The following JavaScript- and Perl-compatible regular expression
+ is an implementation of the above definition.</p>
+
+ <pre>/^[a-zA-Z0-9.!#$%&'*+-/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/</pre>
+
+
+
+ </div><p>A <dfn aria-haspopup="true" id="valid-e-mail-address-list" role="button" tabindex="0">valid e-mail address list</dfn> is a <a href="#set-of-comma-separated-tokens" id="set-of-comma-separated-tokens_2">set of
comma-separated tokens</a>, where each token is itself a
<a href="#valid-e-mail-address" id="valid-e-mail-address_1">valid e-mail address</a>. </p><div class="bookkeeping">
Index: spec.preprocessed.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.preprocessed.html,v
retrieving revision 1.711
retrieving revision 1.712
diff -u -d -r1.711 -r1.712
--- spec.preprocessed.html 10 Jan 2012 01:04:21 -0000 1.711
+++ spec.preprocessed.html 10 Jan 2012 01:57:52 -0000 1.712
@@ -184,7 +184,7 @@
<dt>Editor:</dt>
<dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd>
</dl><p>This specification is available in the following formats: <a href="spec.html">single page HTML</a>, <a href="Overview.html">multipage HTML</a>, <a href="http://dev.w3.org/html5/spec/">full specification</a>.
- This is revision 1.5481.</p>
+ This is revision 1.5482.</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts
@@ -18223,7 +18223,18 @@
simultaneously too strict (before the "@" character), too vague
(after the "@" character), and too lax (allowing comments,
whitespace characters, and quoted strings in manners unfamiliar to
- most users) to be of practical use here.</p><p>A <dfn id="valid-e-mail-address-list" role="button" tabindex="0" aria-haspopup="true">valid e-mail address list</dfn> is a <a href="#set-of-comma-separated-tokens">set of
+ most users) to be of practical use here.</p><div class="note">
+
+
+
+ <p>The following JavaScript- and Perl-compatible regular expression
+ is an implementation of the above definition.</p>
+
+ <pre>/^[a-zA-Z0-9.!#$%&'*+-/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/</pre>
+
+
+
+ </div><p>A <dfn id="valid-e-mail-address-list" role="button" tabindex="0" aria-haspopup="true">valid e-mail address list</dfn> is a <a href="#set-of-comma-separated-tokens">set of
comma-separated tokens</a>, where each token is itself a
<a href="#valid-e-mail-address">valid e-mail address</a>. <span class="impl">To obtain the
list of tokens from a <a href="#valid-e-mail-address-list">valid e-mail address list</a>, and
Index: states-of-the-type-attribute.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/states-of-the-type-attribute.html,v
retrieving revision 1.595
retrieving revision 1.596
diff -u -d -r1.595 -r1.596
--- states-of-the-type-attribute.html 16 Dec 2011 23:57:59 -0000 1.595
+++ states-of-the-type-attribute.html 10 Jan 2012 01:57:53 -0000 1.596
@@ -479,7 +479,18 @@
simultaneously too strict (before the "@" character), too vague
(after the "@" character), and too lax (allowing comments,
whitespace characters, and quoted strings in manners unfamiliar to
- most users) to be of practical use here.<p>A <dfn aria-haspopup="true" id="valid-e-mail-address-list" role="button" tabindex="0">valid e-mail address list</dfn> is a <a href="common-microsyntaxes.html#set-of-comma-separated-tokens" id="set-of-comma-separated-tokens_2">set of
+ most users) to be of practical use here.<div class="note">
+
+
+
+ <p>The following JavaScript- and Perl-compatible regular expression
+ is an implementation of the above definition.</p>
+
+ <pre>/^[a-zA-Z0-9.!#$%&'*+-/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/</pre>
+
+
+
+ </div><p>A <dfn aria-haspopup="true" id="valid-e-mail-address-list" role="button" tabindex="0">valid e-mail address list</dfn> is a <a href="common-microsyntaxes.html#set-of-comma-separated-tokens" id="set-of-comma-separated-tokens_2">set of
comma-separated tokens</a>, where each token is itself a
<a href="#valid-e-mail-address" id="valid-e-mail-address_1">valid e-mail address</a>. <div class="bookkeeping">
Received on Tuesday, 10 January 2012 01:57:59 UTC