<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Regular Expressions, Reverend Jim Ignatowski and You</title>
	<atom:link href="http://code.christophervigliotti.com/2010/07/regular-expressions-reverend-jim-ignatowski-and-you/feed/" rel="self" type="application/rss+xml" />
	<link>http://code.christophervigliotti.com/2010/07/regular-expressions-reverend-jim-ignatowski-and-you/</link>
	<description>Christopher Vigliotti often speaks in ColdFusion, Flash, SQL, CSS, Java and JavaScript.</description>
	<lastBuildDate>Fri, 03 Feb 2012 15:45:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Christopher Vigliotti</title>
		<link>http://code.christophervigliotti.com/2010/07/regular-expressions-reverend-jim-ignatowski-and-you/comment-page-1/#comment-35</link>
		<dc:creator>Christopher Vigliotti</dc:creator>
		<pubDate>Fri, 03 Sep 2010 18:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.codechristophervigliotti.dreamhosters.com/?p=384#comment-35</guid>
		<description>Hi Peter, sorry for the delay on approving your comments.  Good point about leaving swapping out a-zA-Z with a-z in the code sample.  

Just so I understand your second point (sorry about the WordPress issue), you are saying that I should replace the &#039;questionmark&#039; with &#039;questionmark backslash zero&#039;?

Thanks for your input/suggestions.</description>
		<content:encoded><![CDATA[<p>Hi Peter, sorry for the delay on approving your comments.  Good point about leaving swapping out a-zA-Z with a-z in the code sample.  </p>
<p>Just so I understand your second point (sorry about the WordPress issue), you are saying that I should replace the &#8216;questionmark&#8217; with &#8216;questionmark backslash zero&#8217;?</p>
<p>Thanks for your input/suggestions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Boughton</title>
		<link>http://code.christophervigliotti.com/2010/07/regular-expressions-reverend-jim-ignatowski-and-you/comment-page-1/#comment-33</link>
		<dc:creator>Peter Boughton</dc:creator>
		<pubDate>Sat, 31 Jul 2010 00:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.codechristophervigliotti.dreamhosters.com/?p=384#comment-33</guid>
		<description>Looks like the \\ 0 (backslash,zero) has been eaten by crappy WordPress.
The replace string should be &quot;\\ 0?&quot; (backslash,zero,questionmark) and the the &quot;where is the match&quot; should say &quot;where \\ 0 is the match&quot; - i.e. a single backslash followed by zero.
There should be no space between the backlash and the zero.</description>
		<content:encoded><![CDATA[<p>Looks like the \\ 0 (backslash,zero) has been eaten by crappy WordPress.<br />
The replace string should be &#8220;\\ 0?&#8221; (backslash,zero,questionmark) and the the &#8220;where is the match&#8221; should say &#8220;where \\ 0 is the match&#8221; &#8211; i.e. a single backslash followed by zero.<br />
There should be no space between the backlash and the zero.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Boughton</title>
		<link>http://code.christophervigliotti.com/2010/07/regular-expressions-reverend-jim-ignatowski-and-you/comment-page-1/#comment-32</link>
		<dc:creator>Peter Boughton</dc:creator>
		<pubDate>Sat, 31 Jul 2010 00:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.codechristophervigliotti.dreamhosters.com/?p=384#comment-32</guid>
		<description>Looks like the \ (backslash,zero) has been eaten by the blog software.
The replace string should be &quot;\?&quot; (backslash,zero,questionmark) and the the &quot;where is the match&quot; should say &quot;where \ is the match&quot; - i.e. a single backslash followed by zero.</description>
		<content:encoded><![CDATA[<p>Looks like the \ (backslash,zero) has been eaten by the blog software.<br />
The replace string should be &#8220;\?&#8221; (backslash,zero,questionmark) and the the &#8220;where is the match&#8221; should say &#8220;where \ is the match&#8221; &#8211; i.e. a single backslash followed by zero.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Boughton</title>
		<link>http://code.christophervigliotti.com/2010/07/regular-expressions-reverend-jim-ignatowski-and-you/comment-page-1/#comment-31</link>
		<dc:creator>Peter Boughton</dc:creator>
		<pubDate>Sat, 31 Jul 2010 00:21:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.codechristophervigliotti.dreamhosters.com/?p=384#comment-31</guid>
		<description>If you&#039;re doing  refindnocase you don&#039;t need both A-Z and a-z in the class.

Also, another way of doing it is this (no need for the if):

variables.question = rereplaceNoCase(&quot;[a-z0-9]$&quot;, variables.question , &quot;?&quot; )

i.e. if the last char is alphanumeric, perform the replace, where  is the match (so the last char), and the ? is appended after it.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re doing  refindnocase you don&#8217;t need both A-Z and a-z in the class.</p>
<p>Also, another way of doing it is this (no need for the if):</p>
<p>variables.question = rereplaceNoCase(&#8220;[a-z0-9]$&#8221;, variables.question , &#8220;?&#8221; )</p>
<p>i.e. if the last char is alphanumeric, perform the replace, where  is the match (so the last char), and the ? is appended after it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

