<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-8499998.post3988499534153627387..comments</id><updated>2009-11-15T21:01:11.995-07:00</updated><category term='mapReduce'/><category term='cost'/><category term='rackspace'/><category term='javascript'/><category term='s3'/><category term='mongoDB'/><category term='cloud files'/><title type='text'>Comments on leifw: Puzzle solving with regular expressions.</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://leifw.wickland.net/feeds/3988499534153627387/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499998/3988499534153627387/comments/default'/><link rel='alternate' type='text/html' href='http://leifw.wickland.net/2009/11/puzzle-solving-with-regular-expressions.html'/><author><name>Leif Wickland</name><uri>http://www.blogger.com/profile/01820541736912004507</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8499998.post-3763695836637076063</id><published>2009-11-15T21:01:11.995-07:00</published><updated>2009-11-15T21:01:11.995-07:00</updated><title type='text'>In VIM at 3am, because my headache won&amp;#39;t let m...</title><content type='html'>In VIM at 3am, because my headache won&amp;#39;t let me sleep and my latest round of performance tests won&amp;#39;t finish for another 90 minutes or so.&lt;br /&gt;&lt;br /&gt;1. Ctrl-V&lt;br /&gt;2. :%s/\s\+\*//&lt;br /&gt;3. :%s/.*\s.*\n//&lt;br /&gt;4. :%s/.*/\U&amp;amp;/&lt;br /&gt;5. :%s/S$//&lt;br /&gt;6. /^.[AHIMOTUVWXYZ]\+.$&lt;br /&gt;&lt;br /&gt;Yields (unless you also chose ethnicity lists) the six answers referred to.  Only one is a palindrome if you remove the first and last letters.&lt;br /&gt;&lt;br /&gt;Oh, and &amp;quot;Z&amp;quot; doesn&amp;#39;t give you errors, but it&amp;#39;s also not symmetric, so it would only be allowable as the first or last letter, not as the reflected palindromic center of the word.&lt;br /&gt;&lt;br /&gt;Fun stuff, even if you did the heavy lifting.  But then again, my brain isn&amp;#39;t used to functioning at this time of night anymore, so I&amp;#39;m content just to implement the pseudo-code and try (again) to go to sleep. And I don&amp;#39;t have to be curious, because I know the answer.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8499998/3988499534153627387/comments/default/3763695836637076063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499998/3988499534153627387/comments/default/3763695836637076063'/><link rel='alternate' type='text/html' href='http://leifw.wickland.net/2009/11/puzzle-solving-with-regular-expressions.html?showComment=1258344071995#c3763695836637076063' title=''/><author><name>Josh</name><uri>http://www.blogger.com/profile/07709320889573150230</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://leifw.wickland.net/2009/11/puzzle-solving-with-regular-expressions.html' ref='tag:blogger.com,1999:blog-8499998.post-3988499534153627387' source='http://www.blogger.com/feeds/8499998/posts/default/3988499534153627387' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-984367654'/></entry></feed>
