<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>CodingExperiments.Com - Latest Comments in Sir, Please Step Away from the Regex. When to Use Regular Expressions in Code.</title><link>http://codingexperiments.disqus.com/</link><description>CodingExperiments.com is a site where I can (obviously) experiment with various demonstrations of code.</description><language>en</language><lastBuildDate>Fri, 16 Jan 2009 17:12:49 -0000</lastBuildDate><item><title>Re: Sir, Please Step Away from the Regex. When to Use Regular Expressions in Code.</title><link>http://codingexperiments.com/archives/97#comment-5220152</link><description>Oh dear, you are correct.&lt;br&gt;&lt;br&gt;My apologies for the obvious sloppiness in writing the post. Much thanks given to you. I have corrected the post to reflect this.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">possible248</dc:creator><pubDate>Fri, 16 Jan 2009 17:12:49 -0000</pubDate></item><item><title>Re: Sir, Please Step Away from the Regex. When to Use Regular Expressions in Code.</title><link>http://codingexperiments.com/archives/97#comment-5161018</link><description>If you are going to write an article criticizing regex overuse, you might want a regex that matches your description.&lt;br&gt;&lt;br&gt;/^3.+/ does not simply mean 'start with 3'. It means 'start with 3 and one or more additional characters'.&lt;br&gt;&lt;br&gt;/^3.*/ is probably what you wanted.&lt;br&gt;&lt;br&gt;+ means 'match the preceding element one or more times' whereas * means 'match the preceding element zero or more times'</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">steve</dc:creator><pubDate>Fri, 16 Jan 2009 02:39:24 -0000</pubDate></item></channel></rss>