RegExp source property?
# Allen Wirfs-Brock (14 years ago)
On Mar 1, 2012, at 10:03 AM, Erik Arvidsson wrote:
I should have read 15.10.4.1 as well. It clearly states that the source property needs to be escaped.
This means that all browsers except JSC ToT are broken.
Note that the relevant paragraph of 15.10.4.1 added new requirements for ES5 that did not exist in ES3 where the source result was implementation defined.
I suspect this is one of those subtle changes that implementers (and test writer) just over-looked when upgrading to ES5.
# Yusuke Suzuki (14 years ago)
Previously, I reported this issue to JSC, sent patch and accepted :-) bugs.webkit.org/show_bug.cgi?id=71572
I should have read 15.10.4.1 as well. It clearly states that the source property needs to be escaped.
This means that all browsers except JSC ToT are broken.