<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: More ES5 backwards-incompatible changes: regular expressions now evaluate to a new object, not the same object, each time they&#8217;re encountered</title>
	<atom:link href="http://whereswalden.com/2010/01/15/more-es5-incompatible-changes-regular-expressions-now-evaluate-to-a-new-object-not-the-same-object-each-time-theyre-encountered/feed/" rel="self" type="application/rss+xml" />
	<link>http://whereswalden.com/2010/01/15/more-es5-incompatible-changes-regular-expressions-now-evaluate-to-a-new-object-not-the-same-object-each-time-theyre-encountered/</link>
	<description>Mozilla, politics, economics, law, backpacking, cycling, and other random desiderata</description>
	<lastBuildDate>Sat, 19 Jun 2010 05:15:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Wandering Dude</title>
		<link>http://whereswalden.com/2010/01/15/more-es5-incompatible-changes-regular-expressions-now-evaluate-to-a-new-object-not-the-same-object-each-time-theyre-encountered/comment-page-1/#comment-147697</link>
		<dc:creator>Wandering Dude</dc:creator>
		<pubDate>Fri, 21 May 2010 18:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://whereswalden.com/?p=1265#comment-147697</guid>
		<description>Thanks so much for this incredibly useful information. I ran into the exact situation you described with a validation routine. It worked as expected in Internet Explorer, but not so in Firefox.

You saved me a lot of confusion over the strange behavior the code was exhibiting.</description>
		<content:encoded><![CDATA[<p>Thanks so much for this incredibly useful information. I ran into the exact situation you described with a validation routine. It worked as expected in Internet Explorer, but not so in Firefox.</p>
<p>You saved me a lot of confusion over the strange behavior the code was exhibiting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: What the JavaScript RegExp API Got Wrong, and How to Fix It</title>
		<link>http://whereswalden.com/2010/01/15/more-es5-incompatible-changes-regular-expressions-now-evaluate-to-a-new-object-not-the-same-object-each-time-theyre-encountered/comment-page-1/#comment-140303</link>
		<dc:creator>What the JavaScript RegExp API Got Wrong, and How to Fix It</dc:creator>
		<pubDate>Mon, 01 Mar 2010 08:43:45 +0000</pubDate>
		<guid isPermaLink="false">http://whereswalden.com/?p=1265#comment-140303</guid>
		<description>[...] nonintuitive behavior, but Firefox (and later Google Chrome) did, and as a result it became the second most duplicated JavaScript bug report for Mozilla. Fortunately, ES5 got rid of this rule, and now regex literals [...]</description>
		<content:encoded><![CDATA[<p>[...] nonintuitive behavior, but Firefox (and later Google Chrome) did, and as a result it became the second most duplicated JavaScript bug report for Mozilla. Fortunately, ES5 got rid of this rule, and now regex literals [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hallvord R. M. Steen</title>
		<link>http://whereswalden.com/2010/01/15/more-es5-incompatible-changes-regular-expressions-now-evaluate-to-a-new-object-not-the-same-object-each-time-theyre-encountered/comment-page-1/#comment-139482</link>
		<dc:creator>Hallvord R. M. Steen</dc:creator>
		<pubDate>Mon, 25 Jan 2010 14:57:25 +0000</pubDate>
		<guid isPermaLink="false">http://whereswalden.com/?p=1265#comment-139482</guid>
		<description>I know Opera implemented this per ES3 but I don&#039;t remember off the top of my head how long that implementation lasted.. Just like Mozilla, we have a number of bug reports against the ES3 behaviour.</description>
		<content:encoded><![CDATA[<p>I know Opera implemented this per ES3 but I don&#8217;t remember off the top of my head how long that implementation lasted.. Just like Mozilla, we have a number of bug reports against the ES3 behaviour.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://whereswalden.com/2010/01/15/more-es5-incompatible-changes-regular-expressions-now-evaluate-to-a-new-object-not-the-same-object-each-time-theyre-encountered/comment-page-1/#comment-139319</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Sat, 16 Jan 2010 19:00:29 +0000</pubDate>
		<guid isPermaLink="false">http://whereswalden.com/?p=1265#comment-139319</guid>
		<description>I&#039;m not sure I understand the question.  If you&#039;re going to iterate through a string, you should make sure to use a new regular expression each time you do so.  This suggests that global regular expressions probably shouldn&#039;t be defined at top level outside of loops.  However, if you do define it that way but don&#039;t use the regular expression after you&#039;re done iterating, you should be fine.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure I understand the question.  If you&#8217;re going to iterate through a string, you should make sure to use a new regular expression each time you do so.  This suggests that global regular expressions probably shouldn&#8217;t be defined at top level outside of loops.  However, if you do define it that way but don&#8217;t use the regular expression after you&#8217;re done iterating, you should be fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://whereswalden.com/2010/01/15/more-es5-incompatible-changes-regular-expressions-now-evaluate-to-a-new-object-not-the-same-object-each-time-theyre-encountered/comment-page-1/#comment-139315</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Sat, 16 Jan 2010 10:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://whereswalden.com/?p=1265#comment-139315</guid>
		<description>So, the correct way to iterate over a global regexp is to save it in a variable first?</description>
		<content:encoded><![CDATA[<p>So, the correct way to iterate over a global regexp is to save it in a variable first?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://whereswalden.com/2010/01/15/more-es5-incompatible-changes-regular-expressions-now-evaluate-to-a-new-object-not-the-same-object-each-time-theyre-encountered/comment-page-1/#comment-139303</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Fri, 15 Jan 2010 20:53:01 +0000</pubDate>
		<guid isPermaLink="false">http://whereswalden.com/?p=1265#comment-139303</guid>
		<description>Oops, yes, retitled.</description>
		<content:encoded><![CDATA[<p>Oops, yes, retitled.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dorus</title>
		<link>http://whereswalden.com/2010/01/15/more-es5-incompatible-changes-regular-expressions-now-evaluate-to-a-new-object-not-the-same-object-each-time-theyre-encountered/comment-page-1/#comment-139297</link>
		<dc:creator>Dorus</dc:creator>
		<pubDate>Fri, 15 Jan 2010 19:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://whereswalden.com/?p=1265#comment-139297</guid>
		<description>Your title confuses me a bit, don&#039;t you mean either &#039;ES3 incompatible&#039; or &#039;ES5 compatible&#039;?</description>
		<content:encoded><![CDATA[<p>Your title confuses me a bit, don&#8217;t you mean either &#8216;ES3 incompatible&#8217; or &#8216;ES5 compatible&#8217;?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
