<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>&#60;SourceBench/&#62; Your place to share code stuff &#187; PHP</title>
	<atom:link href="http://sourcebench.com/category/languages/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://sourcebench.com</link>
	<description></description>
	<lastBuildDate>Tue, 04 May 2010 07:57:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>parse a urls from text file and split their components with named labels</title>
		<link>http://sourcebench.com/languages/php/parse-a-urls-from-text-file-and-split-their-components-with-named-labels/</link>
		<comments>http://sourcebench.com/languages/php/parse-a-urls-from-text-file-and-split-their-components-with-named-labels/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 23:08:28 +0000</pubDate>
		<dc:creator>The SourceBench</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[extract]]></category>
		<category><![CDATA[preg_match_all]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[regular expression]]></category>
		<category><![CDATA[urls]]></category>

		<guid isPermaLink="false">http://sourcebench.com/languages/php/parse-a-urls-from-text-file-and-split-their-components-with-named-labels/</guid>
		<description><![CDATA[preg_match_all('/(?P&#60;protocol&#62;(?:(?:f&#124;ht)tp&#124;https):\/\/)?(?P&#60;domain&#62;(?:(?!-)(?P&#60;sld&#62;[a-zA-Z\d\-]+)(?&#60;!-)[\.]){1,2}(?P&#60;tld&#62;(?:[a-zA-Z]{2,}\.?){1,}){1,}&#124;(?P&#60;ip&#62;(?:(?(?&#60;!\/)\.)(?:25[0-5]&#124;2[0-4]\d&#124;[01]?\d?\d)){4}))(?::(?P&#60;port&#62;\d{2,5}))?(?:\/(?P&#60;script&#62;[~a-zA-Z\/.0-9-_]*)?(?:\?(?P&#60;parameters&#62;[=a-zA-Z+%&#38;\&#38;amp;\'\(\)0-9,.\/_ -]*))?)?(?:\#(?P&#60;anchor&#62;[=a-zA-Z+%&#38;0-9._]*))?/x',$text,$data)]]></description>
			<content:encoded><![CDATA[<pre class="brush: php;">preg_match_all('/(?P&lt;protocol&gt;(?:(?:f|ht)tp|https):\/\/)?(?P&lt;domain&gt;(?:(?!-)(?P&lt;sld&gt;[a-zA-Z\d\-]+)(?&lt;!-)[\.]){1,2}(?P&lt;tld&gt;(?:[a-zA-Z]{2,}\.?){1,}){1,}|(?P&lt;ip&gt;(?:(?(?&lt;!\/)\.)(?:25[0-5]|2[0-4]\d|[01]?\d?\d)){4}))(?::(?P&lt;port&gt;\d{2,5}))?(?:\/(?P&lt;script&gt;[~a-zA-Z\/.0-9-_]*)?(?:\?(?P&lt;parameters&gt;[=a-zA-Z+%&amp;\&amp;amp;\'\(\)0-9,.\/_ -]*))?)?(?:\#(?P&lt;anchor&gt;[=a-zA-Z+%&amp;0-9._]*))?/x',$text,$data)</pre>]]></content:encoded>
			<wfw:commentRss>http://sourcebench.com/languages/php/parse-a-urls-from-text-file-and-split-their-components-with-named-labels/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
