<?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: Regular Expressions - A Primer</title>
	<atom:link href="http://jalaj.net/2006/12/18/regular-expressions-a-primar/feed/" rel="self" type="application/rss+xml" />
	<link>http://jalaj.net/2006/12/18/regular-expressions-a-primar/</link>
	<description>A Technical Blog</description>
	<pubDate>Tue, 13 May 2008 21:58:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
		<item>
		<title>By: Jalaj</title>
		<link>http://jalaj.net/2006/12/18/regular-expressions-a-primar/#comment-28844</link>
		<dc:creator>Jalaj</dc:creator>
		<pubDate>Fri, 14 Mar 2008 10:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://jalaj.wordpress.com/2006/12/18/regular-expressions-a-primar/#comment-28844</guid>
		<description>Thanks Ryan for pointing out the error as well as rectifying that. I will also post that to the main section. 

I think I skipped the case-sensitiveness as this post was preceded by "Regular Expressions in Vb" post where I first produced this pattern, and in VB to setting "IgnoreCase" property to True itself makes pattern case-insensitive.</description>
		<content:encoded><![CDATA[<p>Thanks Ryan for pointing out the error as well as rectifying that. I will also post that to the main section. </p>
<p>I think I skipped the case-sensitiveness as this post was preceded by &#8220;Regular Expressions in Vb&#8221; post where I first produced this pattern, and in VB to setting &#8220;IgnoreCase&#8221; property to True itself makes pattern case-insensitive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Gardner</title>
		<link>http://jalaj.net/2006/12/18/regular-expressions-a-primar/#comment-28835</link>
		<dc:creator>Ryan Gardner</dc:creator>
		<pubDate>Fri, 14 Mar 2008 02:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://jalaj.wordpress.com/2006/12/18/regular-expressions-a-primar/#comment-28835</guid>
		<description>Here's an updated regex that I believe better finds the URLs and will better allow you grab them. (In Java, grouping #4 contains the URL )

((href&#124;src)\s*=&#124;@import&#124;url)\s*(\(\s*"&#124;\(\s*'&#124;\(&#124;'&#124;")+([\w#/_%:\.&#38;-\?\+]+)('\s*\)&#124;"\s*\)&#124;"&#124;\))+

It grabs mostly-valid URLs... href('monkey.gif'); would never be valid, but it wont catch that obviously... if someone really cared about only finding completely-valid URLs you'd have to retool it more than this.</description>
		<content:encoded><![CDATA[<p>Here&#8217;s an updated regex that I believe better finds the URLs and will better allow you grab them. (In Java, grouping #4 contains the URL )</p>
<p>((href|src)\s*=|@import|url)\s*(\(\s*&#8221;|\(\s*&#8217;|\(|&#8217;|&#8221;)+([\w#/_%:\.&amp;-\?\+]+)(&#8217;\s*\)|&#8221;\s*\)|&#8221;|\))+</p>
<p>It grabs mostly-valid URLs&#8230; href(&#8217;monkey.gif&#8217;); would never be valid, but it wont catch that obviously&#8230; if someone really cared about only finding completely-valid URLs you&#8217;d have to retool it more than this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Gardner</title>
		<link>http://jalaj.net/2006/12/18/regular-expressions-a-primar/#comment-28834</link>
		<dc:creator>Ryan Gardner</dc:creator>
		<pubDate>Fri, 14 Mar 2008 00:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://jalaj.wordpress.com/2006/12/18/regular-expressions-a-primar/#comment-28834</guid>
		<description>Oh... and for href and src the quote can be single or double quote, and for url( the quote is optional. 

I'm tweaking that regex and will post my tweaked one when I am finished with it.</description>
		<content:encoded><![CDATA[<p>Oh&#8230; and for href and src the quote can be single or double quote, and for url( the quote is optional. </p>
<p>I&#8217;m tweaking that regex and will post my tweaked one when I am finished with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Gardner</title>
		<link>http://jalaj.net/2006/12/18/regular-expressions-a-primar/#comment-28833</link>
		<dc:creator>Ryan Gardner</dc:creator>
		<pubDate>Thu, 13 Mar 2008 23:11:35 +0000</pubDate>
		<guid isPermaLink="false">http://jalaj.wordpress.com/2006/12/18/regular-expressions-a-primar/#comment-28833</guid>
		<description>Your regex is not complete - URLs can contain uppercase letters - so you should either have a-zA-Z0-9 or just use \w.</description>
		<content:encoded><![CDATA[<p>Your regex is not complete - URLs can contain uppercase letters - so you should either have a-zA-Z0-9 or just use \w.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mica Kingsley az3h.com</title>
		<link>http://jalaj.net/2006/12/18/regular-expressions-a-primar/#comment-13634</link>
		<dc:creator>Mica Kingsley az3h.com</dc:creator>
		<pubDate>Sun, 21 Oct 2007 19:57:37 +0000</pubDate>
		<guid isPermaLink="false">http://jalaj.wordpress.com/2006/12/18/regular-expressions-a-primar/#comment-13634</guid>
		<description>when you say it's ove. Mica Kingsley.</description>
		<content:encoded><![CDATA[<p>when you say it&#8217;s ove. Mica Kingsley.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wordpress : Change Post URL after it's Published &#171; Jalaj</title>
		<link>http://jalaj.net/2006/12/18/regular-expressions-a-primar/#comment-3667</link>
		<dc:creator>Wordpress : Change Post URL after it's Published &#171; Jalaj</dc:creator>
		<pubDate>Tue, 05 Jun 2007 13:14:16 +0000</pubDate>
		<guid isPermaLink="false">http://jalaj.wordpress.com/2006/12/18/regular-expressions-a-primar/#comment-3667</guid>
		<description>[...] : Change Post URL after it&#8217;s&#160;Published  One of my post Regular Expressions - A Primer, in the early days of this blog, inadvertently got misspelled. Though I changed the page title, the [...]</description>
		<content:encoded><![CDATA[<p>[...] : Change Post URL after it&#8217;s&nbsp;Published  One of my post Regular Expressions - A Primer, in the early days of this blog, inadvertently got misspelled. Though I changed the page title, the [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
