<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'Inverse Hex Color'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 20:10:19 GMT</pubDate>
<item>
<title>koncept said on 10/5/08</title>
<link>http://snipplr.com/view/5812/inverse-hex-color/</link>
<description><![CDATA[ You caught something there... There should be a break after case 3. Corrected. ]]></description>
<pubDate>Sun, 05 Oct 2008 19:31:56 GMT</pubDate>
<guid>http://snipplr.com/view/5812/inverse-hex-color/</guid>
</item>
<item>
<title>Raisor said on 10/5/08</title>
<link>http://snipplr.com/view/5812/inverse-hex-color/</link>
<description><![CDATA[ Guess my formatting wasn't correct, I was asking:
Shouldn't this: 
<pre>
case 3: 
       $color=preg_replace("/(.)(.)(.)/","\1\1\2\2\3\3",$color); 
case 6:
</pre>

actually be this: 
<pre>
case 3: 
case 6: 
       $color=preg_replace("/(.)(.)(.)/","\1\1\2\2\3\3",$color);
</pre> ]]></description>
<pubDate>Sun, 05 Oct 2008 15:04:47 GMT</pubDate>
<guid>http://snipplr.com/view/5812/inverse-hex-color/</guid>
</item>
<item>
<title>Raisor said on 10/5/08</title>
<link>http://snipplr.com/view/5812/inverse-hex-color/</link>
<description><![CDATA[ Shouldn't this:
case 3:
             $color=preg_replace("/(.)(.)(.)/","\\1\\1\\2\\2\\3\\3",$color);
case 6:

actually be this:
case 3:
case 6:
             $color=preg_replace("/(.)(.)(.)/","\\1\\1\\2\\2\\3\\3",$color); ]]></description>
<pubDate>Sun, 05 Oct 2008 15:02:04 GMT</pubDate>
<guid>http://snipplr.com/view/5812/inverse-hex-color/</guid>
</item>
</channel>
</rss>