<?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>Sean Gates' Blog &#187; PERL</title>
	<atom:link href="http://www.seangates.com/category/perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seangates.com</link>
	<description>By the looks of it {he thinks} he knows what he's doing.</description>
	<lastBuildDate>Sat, 10 Jul 2010 21:22:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Regex Love</title>
		<link>http://www.seangates.com/2007/03/19/33/</link>
		<comments>http://www.seangates.com/2007/03/19/33/#comments</comments>
		<pubDate>Mon, 19 Mar 2007 18:05:32 +0000</pubDate>
		<dc:creator>Sean</dc:creator>
				<category><![CDATA[Javscript]]></category>
		<category><![CDATA[PERL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.seangates.com/?p=33</guid>
		<description><![CDATA[I have been doing some regular expression work in JavaScript the past couple of days, and I realize regular expressions can be powerful and do a lot for me. The following examples are variations (not the actual because I could get in trouble here at work) of what I was able to do off the [...]]]></description>
			<content:encoded><![CDATA[<p>I have been doing some regular expression work in JavaScript the past couple of days, and I realize regular expressions can be powerful and do a lot for me.  The following examples are variations (not the actual because I could get in trouble here at work) of what I was able to do off the top of my head:</p>
<blockquote><p>/^p\d{3}$/     // looks for a &#8220;p&#8221; followed by 3 digits<br />
/^\d{6}(-\d{6})?$/     // looks for 6 digits with an optional dash then 6 more digits</p></blockquote>
<p>Just thought I&#8217;d share in my own joy.  Can you see the joy in those regex?  Love it.</p>
<blockquote><p>Note: I fixed the second example per Mitch&#8217;s bug find.Ã‚Â  Apparently my transcription from my whiteboard was not perfect. :-)</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.seangates.com/2007/03/19/33/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RegEx Like No Other</title>
		<link>http://www.seangates.com/2005/11/02/regex-like-no-other/</link>
		<comments>http://www.seangates.com/2005/11/02/regex-like-no-other/#comments</comments>
		<pubDate>Wed, 02 Nov 2005 22:39:02 +0000</pubDate>
		<dc:creator>Sean</dc:creator>
				<category><![CDATA[PERL]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://localhost/wordpress/?p=4</guid>
		<description><![CDATA[After having wrestled with a regular expression for almost 2 weeks I was able to complete the code needed to search and replace HREFs in &#60;a> tags with some javascript. The code is as follows: s/&#60;a (.*?)HREF\s*=\s*"(?!(javascript&#124;mailto&#124;[#]))(.*?((FL(?{$w=250})&#124;OV(?{$w=800})&#124;TK(?{$w=350}))(\w&#124;_)*?\.htm).*?)"(.*?)> /&#60;a href="http://www.orwd.com/blog/wp-admin/post.php#" mce_href="http://www.orwd.com/blog/wp-admin/post.php#" onClick=" w=window\.screen\.width-$w-12; window\.open('$3','helpWin$i','top=0,left='+w+',width=$w, height=650,top=no,status=no,toolbar=no,menubar=no, location=no,scrollbars=yes,resizable=yes');">/gis; I can happily blame Lynn Killam and my partner Fred [...]]]></description>
			<content:encoded><![CDATA[<p>After having wrestled with a regular expression for almost 2 weeks I was able to complete the code needed to search and replace HREFs in &lt;a> tags with some javascript. The code is as follows:</p>
<blockquote><p><code>s/&lt;a (.*?)HREF\s*=\s*"(?!(javascript|mailto|[#]))(.*?((FL(?{$w=250})|OV(?{$w=800})|TK(?{$w=350}))(\w|_)*?\.htm).*?)"(.*?)><br />
/&lt;a href="http://www.orwd.com/blog/wp-admin/post.php#" mce_href="http://www.orwd.com/blog/wp-admin/post.php#" onClick="<br />
w=window\.screen\.width-$w-12;<br />
window\.open('$3','helpWin$i','top=0,left='+w+',width=$w,<br />
height=650,top=no,status=no,toolbar=no,menubar=no,<br />
location=no,scrollbars=yes,resizable=yes');">/gis;</code></p></blockquote>
<p>I can happily blame Lynn Killam and my partner Fred Kush for this undertaking. I am very happy to tell you that it works beautifully.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seangates.com/2005/11/02/regex-like-no-other/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
