<?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>Hank Beaver &#187; posix</title>
	<atom:link href="http://www.hankbeaver.com/index.php/tag/posix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hankbeaver.com</link>
	<description>Ruby, open-source, Internet technologist located in Atlanta, GA, USA</description>
	<lastBuildDate>Tue, 29 Jun 2010 05:34:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Reminder to self and world: Varnish uses POSIX regex.</title>
		<link>http://www.hankbeaver.com/index.php/2009/07/14/reminder-to-self-and-world-varnish-uses-posix-regex/</link>
		<comments>http://www.hankbeaver.com/index.php/2009/07/14/reminder-to-self-and-world-varnish-uses-posix-regex/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 19:26:45 +0000</pubDate>
		<dc:creator>hbeaver</dc:creator>
				<category><![CDATA[regex]]></category>
		<category><![CDATA[varnish]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[posix]]></category>

		<guid isPermaLink="false">http://www.rubyslacker.com/?p=91</guid>
		<description><![CDATA[What does this mean? Well for starters, those nice little PCRE shorthands for character classes just don&#8217;t work! So putting this in your Varnish VCL will silently do nothing:

if (req.url ~ "/\d+(/$&#124;/\?&#124;\?&#124;$)") ...

whereas this match: 

if (req.url ~ "/[0-9]+(/$&#124;/\?&#124;\?&#124;$)") ...

Enjoy.
]]></description>
			<content:encoded><![CDATA[<p>What does this mean? Well for starters, those nice little PCRE shorthands for character classes just don&#8217;t work! So putting this in your Varnish VCL will silently do nothing:</p>
<pre>
if (req.url ~ "/\d+(/$|/\?|\?|$)") ...
</pre>
<p>whereas this match: </p>
<pre>
if (req.url ~ "/[0-9]+(/$|/\?|\?|$)") ...
</pre>
<p>Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hankbeaver.com/index.php/2009/07/14/reminder-to-self-and-world-varnish-uses-posix-regex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
