This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15490 - The e-mail validation regexp doesn't need to escape the ^ in the character class at its position (at least in JS).
Summary: The e-mail validation regexp doesn't need to escape the ^ in the character cl...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
: 15486 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-10 07:41 UTC by contributor
Modified: 2012-07-18 18:40 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2012-01-10 07:41:33 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html
Multipage: http://www.whatwg.org/C#e-mail-state-(type=email)
Complete: http://www.whatwg.org/c#e-mail-state-(type=email)

Comment:
The e-mail validation regexp doesn't need to escape the ^ in the character
class at its position (at least in JS).

Posted from: 71.67.176.48
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7
Comment 1 Ms2ger 2012-01-11 14:10:59 UTC
*** Bug 15486 has been marked as a duplicate of this bug. ***
Comment 2 Ian 'Hixie' Hickson 2012-02-03 20:26:55 UTC
I've removed the backslash.
Comment 3 contributor 2012-02-03 20:27:21 UTC
Checked in as WHATWG revision r6963.
Check-in comment: Remove redundant backslash in the NON-NORMATIVE e-mail validation regexp.
http://html5.org/tools/web-apps-tracker?from=6962&to=6963