<?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"
	>
<channel>
	<title>Comments on: preg_replace in php</title>
	<atom:link href="http://wonkabar.org/archives/412/feed" rel="self" type="application/rss+xml" />
	<link>http://wonkabar.org/archives/412</link>
	<description>linux, databases, cartoons and cornflakes</description>
	<pubDate>Thu, 04 Dec 2008 06:57:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Steve</title>
		<link>http://wonkabar.org/archives/412#comment-39340</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sat, 22 Mar 2008 14:02:30 +0000</pubDate>
		<guid isPermaLink="false">http://wonkabar.org/archives/412#comment-39340</guid>
		<description>Richard,

Doh, you're totally right ... I didn't see that in the docs til you mentioned it.  Oh well. :)</description>
		<content:encoded><![CDATA[<p>Richard,</p>
<p>Doh, you&#8217;re totally right &#8230; I didn&#8217;t see that in the docs til you mentioned it.  Oh well. <img src='http://wonkabar.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Brown</title>
		<link>http://wonkabar.org/archives/412#comment-39320</link>
		<dc:creator>Richard Brown</dc:creator>
		<pubDate>Sat, 22 Mar 2008 09:10:04 +0000</pubDate>
		<guid isPermaLink="false">http://wonkabar.org/archives/412#comment-39320</guid>
		<description>Oh wow beandog, you sure love match variables. I'm sure someone else can do this better but, at least use $0:

preg_replace('/bug\s+\D?(\d+)/i', "&lt;a&gt;$0&lt;/a&gt;", "Fixed everything. I rock. See Bug #12345.");</description>
		<content:encoded><![CDATA[<p>Oh wow beandog, you sure love match variables. I&#8217;m sure someone else can do this better but, at least use $0:</p>
<p>preg_replace(&#8217;/bug\s+\D?(\d+)/i&#8217;, &#8220;<a>$0</a>&#8220;, &#8220;Fixed everything. I rock. See Bug #12345.&#8221;);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
