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 26770 - provided regex is not valid for javascript, forward slash should be escaped
Summary: provided regex is not valid for javascript, forward slash should be escaped
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:
Depends on:
Blocks:
 
Reported: 2014-09-10 07:37 UTC by contributor
Modified: 2014-09-19 23:37 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2014-09-10 07:37:06 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html
Multipage: http://www.whatwg.org/C#valid-e-mail-address
Complete: http://www.whatwg.org/c#valid-e-mail-address
Referrer: 

Comment:
provided regex is not valid for javascript, forward slash should be escaped

Posted from: 192.96.88.9
User agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.103 Safari/537.36
Comment 1 contributor 2014-09-19 23:37:35 UTC
Checked in as WHATWG revision r8802.
Check-in comment: 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.
https://html5.org/tools/web-apps-tracker?from=8801&to=8802