<?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: v0.4 Release &#8211; Linkifying all Bug Strings</title>
	<atom:link href="http://blog.sidkalra.com/2009/01/v04-release-linkifying-all-bug-strings/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sidkalra.com/2009/01/v04-release-linkifying-all-bug-strings/</link>
	<description></description>
	<lastBuildDate>Sun, 03 Jul 2011 03:10:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Gijs</title>
		<link>http://blog.sidkalra.com/2009/01/v04-release-linkifying-all-bug-strings/#comment-74</link>
		<dc:creator>Gijs</dc:creator>
		<pubDate>Sun, 18 Jan 2009 22:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sidkalra.com/?p=277#comment-74</guid>
		<description>Hi Sid,

Again, a comment on this: you can use the &quot;global&quot; flag for regexps (/foo/g or new RegExp(&quot;foo&quot;, &quot;g&quot;) ) to make it match each link. Now, if you use the &quot;string&quot;.replace(regexp, function) syntax, and make the function return the replacement, it will globally replace all &quot;bug #1234&quot; occurrences with the right link. Which will work, and doesn&#039;t need recursion (however clever that is).

For more info, check out: https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/replace#Specifying_a_function_as_a_parameter

Cheers,
Gijs</description>
		<content:encoded><![CDATA[<p>Hi Sid,</p>
<p>Again, a comment on this: you can use the &#8220;global&#8221; flag for regexps (/foo/g or new RegExp(&#8220;foo&#8221;, &#8220;g&#8221;) ) to make it match each link. Now, if you use the &#8220;string&#8221;.replace(regexp, function) syntax, and make the function return the replacement, it will globally replace all &#8220;bug #1234&#8243; occurrences with the right link. Which will work, and doesn&#8217;t need recursion (however clever that is).</p>
<p>For more info, check out: <a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/replace#Specifying_a_function_as_a_parameter" rel="nofollow">https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/replace#Specifying_a_function_as_a_parameter</a></p>
<p>Cheers,<br />
Gijs</p>
]]></content:encoded>
	</item>
</channel>
</rss>

