[html5] r6885 - [agiowt] (1) Fix the e-mail regexp to disallow commas. (Typo in the example. Oop [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jan 10 10:47:48 PST 2012


Author: ianh
Date: 2012-01-10 10:47:47 -0800 (Tue, 10 Jan 2012)
New Revision: 6885

Modified:
   complete.html
   index
   source
Log:
[agiowt] (1) Fix the e-mail regexp to disallow commas. (Typo in the example. Oops. I hope you didn't copy the regexp from Mike's tweet!)
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-01-10 00:56:16 UTC (rev 6884)
+++ complete.html	2012-01-10 18:47:47 UTC (rev 6885)
@@ -44264,7 +44264,7 @@
    <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>
+   <pre>/^[a-zA-Z0-9.!#$%&'*+/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/</pre>
 
    <!-- based on: http://blog.gerv.net/2011/05/html5_email_address_regexp/ -->
 

Modified: index
===================================================================
--- index	2012-01-10 00:56:16 UTC (rev 6884)
+++ index	2012-01-10 18:47:47 UTC (rev 6885)
@@ -44264,7 +44264,7 @@
    <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>
+   <pre>/^[a-zA-Z0-9.!#$%&'*+/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/</pre>
 
    <!-- based on: http://blog.gerv.net/2011/05/html5_email_address_regexp/ -->
 

Modified: source
===================================================================
--- source	2012-01-10 00:56:16 UTC (rev 6884)
+++ source	2012-01-10 18:47:47 UTC (rev 6885)
@@ -51647,7 +51647,7 @@
    <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>
+   <pre>/^[a-zA-Z0-9.!#$%&'*+/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/</pre>
 
    <!-- based on: http://blog.gerv.net/2011/05/html5_email_address_regexp/ -->
 




More information about the Commit-Watchers mailing list