<?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>Everything In Between &#187; Java</title>
	<atom:link href="http://maymay.net/blog/category/programming/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://maymay.net/blog</link>
	<description>The brutally honest, first-person account of Meitar Moscovitz&#039;s life.</description>
	<lastBuildDate>Tue, 22 May 2012 03:33:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>3-Sentence Meme</title>
		<link>http://maymay.net/blog/2005/03/09/3-sentence-meme/</link>
		<comments>http://maymay.net/blog/2005/03/09/3-sentence-meme/#comments</comments>
		<pubDate>Wed, 09 Mar 2005 17:42:19 +0000</pubDate>
		<dc:creator>Meitar</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Memes]]></category>

		<guid isPermaLink="false">/?p=205</guid>
		<description><![CDATA[A random meme offers a tidbit of information on Java's regex capabilities.]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t typically propogate memes but, for some reason, I <a href="http://www.livejournal.com/users/pixie4now/107827.html" title="My friend did it, and here's where it all started.">did</a> this time. So, without further ado, here&#8217;s the meme.</p>
<h3>The Instructions</h3>
<ol>
<li>Grab the nearest book.</li>
<li>Open the book to page 123.</li>
<li>Find the fifth sentence.</li>
<li>Post the text of the next 3 sentences on your blog along with these instructions.</li>
<li>Don’t you dare dig for that &ldquo;cool&rdquo; or &ldquo;intellectual&rdquo; book in your closet! I know you were thinking about it! Just pick up whatever is closest.</li>
</ol>
<h3><cite>Mastering Regular Expressions</cite> was Mine</h3>
<p>Amazingly, I happen to actually be on page 123 in one of the books I&#8217;m reading, which happens to be right next to my computer on my desk right now, which happens to be <a href="http://regex.info/" title="I am finding this to be a remarkably easy read, and a wonderful tutor."><cite>Mastering Regular Expressions</cite></a> by Jeffrey Friedl. Here are the fifth, sixth, and seventh sentences:</p>
<ul>
<li>Sun&#8217;s Java regex package supports set operations within character classes.</li>
<li>For example, you can match all non-vowel English letters with &ldquo;[a-z] minus [aeiou]&rdquo;.</li>
<li>The nomenclature for this may seem a bit odd a first&mdash;it&#8217;s written as <code>[[a-z]&amp;&amp;[^aeiou]]</code>, and read aloud as &ldquo;this <strong>and</strong> not that.&rdquo;</li>
</ul>
<p>By the way, did you notice the typo? Yes, it was actually in the book. I pick up on so many errors like that <em>all the time</em> that I&#8217;m always considering becoming an editor.</p>
<p><strong>Update (added 9:02 PM):</strong> Okay, enough people have asked me about this, unable to find the error in one of the sentences above, that I figure it&#8217;s time I let the cat out of the bag. If you really want to know where it is, <a href="http://www.maymay.net/blog/archives/2005/03/09/3-sentence-meme/#comment-2663" title="Really try to find it yourself first, though.">here&#8217;s the answer</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://maymay.net/blog/2005/03/09/3-sentence-meme/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

