Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[agiowt] (1) Fix the e-mail regexp to disallow commas. (Typo in the e…
…xample. Oops. I hope you didn't copy the regexp from Mike's tweet!)

Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@6885 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 10, 2012
1 parent 0763c41 commit f1841b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion complete.html
Expand Up @@ -44264,7 +44264,7 @@ <h6 id="e-mail-state-(type=email)"><span class=secno>4.10.7.1.5 </span><dfn titl
<p>The following JavaScript- and Perl-compatible regular expression
is an implementation of the above definition.</p>

<pre>/^[a-zA-Z0-9.!#$%&amp;'*+-/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/</pre>
<pre>/^[a-zA-Z0-9.!#$%&amp;'*+/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/</pre>

<!-- based on: http://blog.gerv.net/2011/05/html5_email_address_regexp/ -->

Expand Down
2 changes: 1 addition & 1 deletion index
Expand Up @@ -44264,7 +44264,7 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
<p>The following JavaScript- and Perl-compatible regular expression
is an implementation of the above definition.</p>

<pre>/^[a-zA-Z0-9.!#$%&amp;'*+-/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/</pre>
<pre>/^[a-zA-Z0-9.!#$%&amp;'*+/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/</pre>

<!-- based on: http://blog.gerv.net/2011/05/html5_email_address_regexp/ -->

Expand Down
2 changes: 1 addition & 1 deletion source
Expand Up @@ -51647,7 +51647,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<p>The following JavaScript- and Perl-compatible regular expression
is an implementation of the above definition.</p>

<pre>/^[a-zA-Z0-9.!#$%&amp;'*+-/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/</pre>
<pre>/^[a-zA-Z0-9.!#$%&amp;'*+/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/</pre>

<!-- based on: http://blog.gerv.net/2011/05/html5_email_address_regexp/ -->

Expand Down

0 comments on commit f1841b7

Please sign in to comment.