early reporting of malformed regex literals

Allen Wirfs-Brock Allen.Wirfs-Brock at microsoft.com
Fri Jun 27 15:47:08 PDT 2008

In your comments on the June 11, ES3.1 draft you said:

p22 7.8.  Unacceptable change: The requirement to signal regular

expression syntax errors at scanning time breaks existing programs.

(The justification ("since the arguments are the same every tine[sic],

..." appears to have no bearing on that and should be removed in any


If the existing browser implementations don't do this, would you agree it would be better to simply eliminate the scanning time option?

Presumably, it would be acceptable to require early report in an opt-in "strict mode"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20080627/a6e45012/attachment-0002.html 

More information about the Es4-discuss mailing list