<?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>Hello, I am Sean Murphy &#187; word</title>
	<atom:link href="http://iamseanmurphy.com/tag/word/feed/" rel="self" type="application/rss+xml" />
	<link>http://iamseanmurphy.com</link>
	<description>Thoughts, news, code by Sean Murphy</description>
	<lastBuildDate>Thu, 26 Jan 2012 02:37:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Negative Word Matching with Regular Expressions</title>
		<link>http://iamseanmurphy.com/2008/04/28/negative-word-matching-with-regular-expressions/</link>
		<comments>http://iamseanmurphy.com/2008/04/28/negative-word-matching-with-regular-expressions/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 22:42:34 +0000</pubDate>
		<dc:creator>Sean Murphy</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[negative]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[word]]></category>

		<guid isPermaLink="false">http://iamseanmurphy.com/2008/04/28/negative-word-matching-with-regular-expressions/</guid>
		<description><![CDATA[Today on the #codeigniter IRC channel someone asked about how to match a string that didn&#8217;t start with a specific word using a regex. I quickly threw out that, off the top of my head, /^(word){0}/ should work. Well, surprisingly, it didn&#8217;t. Turns out negatively matching words with regular expressions is a little more difficult. [...]]]></description>
			<content:encoded><![CDATA[<p>Today on the #codeigniter IRC channel someone asked about how to match a string that <em>didn&#8217;t</em> start with a specific <u>word</u> using a regex. I quickly threw out that, off the top of my head, /^(word){0}/ should work. Well, surprisingly, it didn&#8217;t. Turns out negatively matching words with regular expressions is a little more difficult.</p>
<p>After a little research I came up with a working solution: /^(?!word).*/</p>
<p>This post by Jeff Atwood helped: <a href="http://www.codinghorror.com/blog/archives/000425.html">Excluding matches with Regular Expressions</a></p>
]]></content:encoded>
			<wfw:commentRss>http://iamseanmurphy.com/2008/04/28/negative-word-matching-with-regular-expressions/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

