<?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: robots.txt parser php class</title>
	<atom:link href="http://www.juust.org/index.php/php-classes/robots-txt-php-parser-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.juust.org</link>
	<description>Link theory and search engine optimization</description>
	<lastBuildDate>Sat, 28 Jan 2012 16:58:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: juust</title>
		<link>http://www.juust.org/index.php/php-classes/robots-txt-php-parser-class/comment-page-1/#comment-5827</link>
		<dc:creator>juust</dc:creator>
		<pubDate>Thu, 10 Dec 2009 16:18:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.juust.org/?page_id=81#comment-5827</guid>
		<description>@Deepak, 
thanks for the feedback, 

some shell-wildcards like * are a modifier in php regex, that causes it to fail with a warning. I can use fnmatch() http://www.php.net/manual/en/function.fnmatch.php, which handles shell wildcards but it doesn&#039;t work on non-posix systems. Php.net do offer a preg_match based replacement but that requires rewriting the class here and there.

 I noticed a few more bugs in it so I am going to put a new version on the blog next week.</description>
		<content:encoded><![CDATA[<p>@Deepak,<br />
thanks for the feedback, </p>
<p>some shell-wildcards like * are a modifier in php regex, that causes it to fail with a warning. I can use fnmatch() <a href="http://www.php.net/manual/en/function.fnmatch.php" rel="nofollow">http://www.php.net/manual/en/function.fnmatch.php</a>, which handles shell wildcards but it doesn&#8217;t work on non-posix systems. Php.net do offer a preg_match based replacement but that requires rewriting the class here and there.</p>
<p> I noticed a few more bugs in it so I am going to put a new version on the blog next week.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak Pradhan</title>
		<link>http://www.juust.org/index.php/php-classes/robots-txt-php-parser-class/comment-page-1/#comment-5792</link>
		<dc:creator>Deepak Pradhan</dc:creator>
		<pubDate>Tue, 08 Dec 2009 17:22:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.juust.org/?page_id=81#comment-5792</guid>
		<description>if(preg_match(&quot;/^$rule/&quot;, $parsed[&#039;path&#039;])) return false; 

fails if rule=/*/mac/help.mspx</description>
		<content:encoded><![CDATA[<p>if(preg_match(&#8220;/^$rule/&#8221;, $parsed['path'])) return false; </p>
<p>fails if rule=/*/mac/help.mspx</p>
]]></content:encoded>
	</item>
</channel>
</rss>

