<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: BBCode and Regex</title>
	<atom:link href="http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/feed/" rel="self" type="application/rss+xml" />
	<link>http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/</link>
	<description>A PHP Programmer Learning Perl</description>
	<lastBuildDate>Fri, 28 Aug 2009 09:32:39 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: standy</title>
		<link>http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/#comment-88</link>
		<dc:creator>standy</dc:creator>
		<pubDate>Sun, 09 Nov 2008 08:56:30 +0000</pubDate>
		<guid isPermaLink="false">http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/#comment-88</guid>
		<description>fHfla5 bnnLst19hdY6llAd3fg6</description>
		<content:encoded><![CDATA[<p>fHfla5 bnnLst19hdY6llAd3fg6</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: assasiner</title>
		<link>http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/#comment-84</link>
		<dc:creator>assasiner</dc:creator>
		<pubDate>Mon, 29 Sep 2008 19:02:30 +0000</pubDate>
		<guid isPermaLink="false">http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/#comment-84</guid>
		<description>(abc) instead of (a&#124;b&#124;c)</description>
		<content:encoded><![CDATA[<p>(abc) instead of (a|b|c)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: danang</title>
		<link>http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/#comment-83</link>
		<dc:creator>danang</dc:creator>
		<pubDate>Mon, 29 Sep 2008 18:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/#comment-83</guid>
		<description>thank you for your quick answer.
but what I am asking is if string isn&#039;t started by &#039;abc&#039;.
so &#039;abc is my brand&#039; is true, and &#039;bca is my bank&#039;  is false.</description>
		<content:encoded><![CDATA[<p>thank you for your quick answer.<br />
but what I am asking is if string isn&#8217;t started by &#8216;abc&#8217;.<br />
so &#8216;abc is my brand&#8217; is true, and &#8216;bca is my bank&#8217;  is false.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: assasiner</title>
		<link>http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/#comment-82</link>
		<dc:creator>assasiner</dc:creator>
		<pubDate>Mon, 29 Sep 2008 16:55:09 +0000</pubDate>
		<guid isPermaLink="false">http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/#comment-82</guid>
		<description>Hmm if you want to see if the string starts with a,b or c it would be something like this

#!/usr/bin/perl
use strict;

my @string = (&#039;an elephant&#039;, &#039;before midnight&#039;, &#039;come to my house later&#039;, &#039;once uppon a time&#039;);

if($string[3] =~ /^(a&#124;b&#124;c)/i)
{
	print &#039;It starts with a, b or c&#039;;
}
else
{
	print &#039;It does not start with a,b or c&#039;;
}

range from 0 to 3 to see the results</description>
		<content:encoded><![CDATA[<p>Hmm if you want to see if the string starts with a,b or c it would be something like this</p>
<p>#!/usr/bin/perl<br />
use strict;</p>
<p>my @string = (&#8216;an elephant&#8217;, &#8216;before midnight&#8217;, &#8216;come to my house later&#8217;, &#8216;once uppon a time&#8217;);</p>
<p>if($string[3] =~ /^(a|b|c)/i)<br />
{<br />
	print &#8216;It starts with a, b or c&#8217;;<br />
}<br />
else<br />
{<br />
	print &#8216;It does not start with a,b or c&#8217;;<br />
}</p>
<p>range from 0 to 3 to see the results</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: danang</title>
		<link>http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/#comment-81</link>
		<dc:creator>danang</dc:creator>
		<pubDate>Mon, 29 Sep 2008 15:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/#comment-81</guid>
		<description>hi...
i like the way you explain this regex stuff. but I have dificulties in using anchor [^] which means not matched. I tried to use ^[^abc]is equal to ^[^a&#124;b&#124;c].
So what about if I want to define the the text is not started by &#039;abc&#039;  (not &#039;a&#039; or &#039;b&#039; or &#039;c&#039;) . thank in advance..</description>
		<content:encoded><![CDATA[<p>hi&#8230;<br />
i like the way you explain this regex stuff. but I have dificulties in using anchor [^] which means not matched. I tried to use ^[^abc]is equal to ^[^a|b|c].<br />
So what about if I want to define the the text is not started by &#8216;abc&#8217;  (not &#8216;a&#8217; or &#8216;b&#8217; or &#8216;c&#8217;) . thank in advance..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
