Status: New
Owner: ----

New issue 1982 by [email protected]: RegExp.source should return a valid pattern for an empty RegExp
http://code.google.com/p/v8/issues/detail?id=1982

(new RegExp()).source now returns '(:?)' in JSC, whereas it returns '' in V8.

JSC just changed their behavior, see https://bugs.webkit.org/show_bug.cgi?id=79938 for their reasoning (the short answer is that it matches the pattern generated by toString()).

For now I'm suppressing this failure in V8 WebKit layout tests. If you disagree with the reasoning in the WebKit bug, please ping back so we can fix the WebKit test.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to