[html5] r8802 - [e] (0) I told people when we first added this regular expression that it would [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Sep 19 16:37:29 PDT 2014


Author: ianh
Date: 2014-09-19 16:37:25 -0700 (Fri, 19 Sep 2014)
New Revision: 8802

Modified:
   complete.html
   index
   source
Log:
[e] (0) I told people when we first added this regular expression that it would be a maintenance nightmare, and sure enough, it's been the source of an unending stream of minor bugs.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=26770
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2014-09-19 23:35:33 UTC (rev 8801)
+++ complete.html	2014-09-19 23:37:25 UTC (rev 8802)
@@ -33746,7 +33746,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-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/</pre>
+   <pre>/^[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])?)*$/</pre>
 
    
 

Modified: index
===================================================================
--- index	2014-09-19 23:35:33 UTC (rev 8801)
+++ index	2014-09-19 23:37:25 UTC (rev 8802)
@@ -33746,7 +33746,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-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/</pre>
+   <pre>/^[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])?)*$/</pre>
 
    
 

Modified: source
===================================================================
--- source	2014-09-19 23:35:33 UTC (rev 8801)
+++ source	2014-09-19 23:37:25 UTC (rev 8802)
@@ -43621,7 +43621,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-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/</pre>
+   <pre>/^[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])?)*$/</pre>
 
    <!-- based on: http://blog.gerv.net/2011/05/html5_email_address_regexp/ -->
 



More information about the Commit-Watchers mailing list