<?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>EveryJoe &#187; Programming</title>
	<atom:link href="http://everyjoe.com/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://everyjoe.com</link>
	<description>Just another EveryJoe weblog</description>
	<lastBuildDate>Thu, 29 Jul 2010 10:31:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Regular Expressions are Anything But Regular</title>
		<link>http://everyjoe.com/technology/regular-expressions-are-anything-but-regular/</link>
		<comments>http://everyjoe.com/technology/regular-expressions-are-anything-but-regular/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 01:35:00 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[patterns]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[programming language]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[regular expressions]]></category>
		<category><![CDATA[text formatting]]></category>
		<category><![CDATA[text patterns]]></category>

		<guid isPermaLink="false">http://everyjoe.com/articles/regular-expressions-are-anything-but-regular/</guid>
		<description><![CDATA[I&#8217;ve been spending a bit of time the last couple of days trying to figure out exactly how regular expressions work. I&#8217;ve got to use one in an application I&#8217;m working on and I&#8217;m just not getting the syntax organization at all.
 
Although you may think it&#8217;s gibberish, the text ...  <a href="http://everyjoe.com/technology/regular-expressions-are-anything-but-regular/"> More</a><p>Post from: <a href="http://everyjoe.com">EveryJoe</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been spending a bit of time the last couple of days trying to figure out exactly how regular expressions work. I&#8217;ve got to use one in an application I&#8217;m working on and I&#8217;m just not getting the syntax organization at all.</p>
<p><a href="http://everyjoe.com/files/2009/11/regexillustration.gif"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="regex-illustration" src="http://everyjoe.com/files/2009/11/regexillustration_thumb.gif" width="590" height="248" /></a> </p>
<p>Although you may think it&#8217;s gibberish, the text above is the regular expression I&#8217;m using for the solution to my earlier problem. Doesn&#8217;t look very &quot;regular&quot; does it? Aside from the fact it&#8217;s using characters I&#8217;m familiar with, the order and meaning behind them might as well be hieroglyphics to me. So, what is a &quot;regular expression&quot;?</p>
<p>The <a title="Wiktionary website" href="http://en.wiktionary.org/wiki/regular_expression" target="_blank">Wiktionary website</a> defines it as follows:</p>
<blockquote><p>A concise description of a <a href="http://en.wiktionary.org/wiki/regular">regular</a> <a href="http://en.wiktionary.org/wiki/formal_language">formal language</a> with notations for <a href="http://en.wiktionary.org/wiki/concatenation">concatenation</a>, <a href="http://en.wiktionary.org/wiki/alternation">alternation</a>, and <a href="http://en.wiktionary.org/wiki/iteration">iteration</a> (<a href="http://en.wiktionary.org/wiki/repetition">repetition</a>) of subexpressions.</p>
</blockquote>
<p>My task for my application was to exclude any .zip files from being able to be uploaded to the server. I couldn&#8217;t ever find a regular expression that excluded .zip files, but I did find the one above that basically allowed a list of other files.</p>
<p>Here&#8217;s the expression above again:</p>
<blockquote><p>^.+\.(([jJ][pP][eE]?[gG])|([gG][iI][fF])|([pP][dD][fF])|([dD][oO][cC])|([dD][oO][cC][xX])|([bB][mM][pP])|([tT][xX][tT]))$</p>
</blockquote>
<p>The &quot;regular expression&quot;, or &quot;regex&quot; above basically looks for any .jpg, .jpeg, .gif, .pdf, .bmp, .doc, .docx, or .txt file and allows it to be uploaded. The upper and lower case version of the letter within brackets specifies that the file extension could be typed either way.</p>
<p>I&#8217;m still not real sure what all the other symbols are really specifying in there. I&#8217;ve got more to learn for sure.</p>
<p>Post from: <a href="http://everyjoe.com">EveryJoe</a></p>
]]></content:encoded>
			<wfw:commentRss>http://everyjoe.com/technology/regular-expressions-are-anything-but-regular/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>I Wanna Be Like Lim</title>
		<link>http://everyjoe.com/technology/i-wanna-be-like-lim-3/</link>
		<comments>http://everyjoe.com/technology/i-wanna-be-like-lim-3/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 15:18:30 +0000</pubDate>
		<dc:creator>Juan Magdaraog</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apple Mac]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[iPhone 3G]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.theaftermac.com/?p=1081</guid>
		<description><![CDATA[Most of us were still playing with toys when we were 9 years old. Lim Ding Wen, isn&#8217;t like any other kid though. At the tender age of 9 Lim is already an accomplished iPhone programmer. His program &#8220;Doodle Kids&#8221; has been downloaded 4,000 times from the iTunes App Store. ...  <a href="http://everyjoe.com/technology/i-wanna-be-like-lim-3/"> More</a><p>Post from: <a href="http://everyjoe.com">EveryJoe</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Most of us were still playing with toys when we were 9 years old. Lim Ding Wen, isn&#8217;t like any other kid though. At the tender age of 9 Lim is already an accomplished iPhone programmer. His program &#8220;Doodle Kids&#8221; has been downloaded 4,000 times from the iTunes App Store. </p>
<p>The program is a high-tech etch-a-sketch. You can draw on the iPhone using your fingers and then shake the device to erase it. </p>
<p>He&#8217;s fluent in a number of programming language. At the age of 9 I could barely cope with the english language, much less programming languages. He&#8217;s the man!</p>
<p>Read the original article from Reuters <a href="http://www.reuters.com/article/technologyNews/idUSTRE5140FI20090205?feedType=RSS&#038;feedName=technologyNews&#038;rpc=22&#038;sp=true">here</a>.</p>
<p>Post from: <a href="http://everyjoe.com">EveryJoe</a></p>
]]></content:encoded>
			<wfw:commentRss>http://everyjoe.com/technology/i-wanna-be-like-lim-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>