<?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: The Joy of Regular Expressions [1]</title>
	<atom:link href="http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/</link>
	<description>News, opinion, and fresh thinking for web developers and designers. The official podcast of sitepoint.com.</description>
	<lastBuildDate>Mon, 23 Nov 2009 01:39:24 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: emmilely</title>
		<link>http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/comment-page-1/#comment-821059</link>
		<dc:creator>emmilely</dc:creator>
		<pubDate>Tue, 04 Nov 2008 08:19:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1720#comment-821059</guid>
		<description>Thank you so much, this was extremely helpful and very clearly stated.  I am just learning about regular expressions, and this site is one of the very few that actually explained them in a manner beginners could understand.</description>
		<content:encoded><![CDATA[<p>Thank you so much, this was extremely helpful and very clearly stated.  I am just learning about regular expressions, and this site is one of the very few that actually explained them in a manner beginners could understand.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: bahodir</title>
		<link>http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/comment-page-1/#comment-363020</link>
		<dc:creator>bahodir</dc:creator>
		<pubDate>Sun, 02 Sep 2007 13:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1720#comment-363020</guid>
		<description>say, i want to have only one underscore (_) in a usename. How do I do it?</description>
		<content:encoded><![CDATA[<p>say, i want to have only one underscore (_) in a usename. How do I do it?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: DAVID</title>
		<link>http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/comment-page-1/#comment-333671</link>
		<dc:creator>DAVID</dc:creator>
		<pubDate>Sun, 12 Aug 2007 15:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1720#comment-333671</guid>
		<description>THANK YOU VERY MUCH
YOU HELPED ME A LOT</description>
		<content:encoded><![CDATA[<p>THANK YOU VERY MUCH<br />
YOU HELPED ME A LOT</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Buy Tramadol online</title>
		<link>http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/comment-page-1/#comment-200618</link>
		<dc:creator>Buy Tramadol online</dc:creator>
		<pubDate>Mon, 12 Mar 2007 00:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1720#comment-200618</guid>
		<description>Tramadol is used to relieve moderate to moderately severe pain. It also may be used to treat pain caused by surgery and chronic conditions such as cancer or joint pain. Tramadol works by decreasing the brain\&#039;s perception and response to pain. It also reduces the size or magnitude of the pain signal passed from one nerve to another. This medication is sometimes prescribed for other uses; ask your doctor or pharmacist for more information.

FedEx next day delivery, free prescription with your order and 24/7 customer service.</description>
		<content:encoded><![CDATA[<p>Tramadol is used to relieve moderate to moderately severe pain. It also may be used to treat pain caused by surgery and chronic conditions such as cancer or joint pain. Tramadol works by decreasing the brain\&#8217;s perception and response to pain. It also reduces the size or magnitude of the pain signal passed from one nerve to another. This medication is sometimes prescribed for other uses; ask your doctor or pharmacist for more information.</p>
<p>FedEx next day delivery, free prescription with your order and 24/7 customer service.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: SB6 Designz</title>
		<link>http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/comment-page-1/#comment-64652</link>
		<dc:creator>SB6 Designz</dc:creator>
		<pubDate>Fri, 06 Oct 2006 00:36:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1720#comment-64652</guid>
		<description>great work man

way off topic but if anyone here has to do with the forum can you please activate my account because the email is not sending</description>
		<content:encoded><![CDATA[<p>great work man</p>
<p>way off topic but if anyone here has to do with the forum can you please activate my account because the email is not sending</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Bustergates</title>
		<link>http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/comment-page-1/#comment-63037</link>
		<dc:creator>Bustergates</dc:creator>
		<pubDate>Tue, 03 Oct 2006 03:29:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1720#comment-63037</guid>
		<description>Greetings: I have the crudest command of software authoring tools to create, edit, upload and publish content to a web site. I know the skills I&#039;ve acquired by trial and error are pale next to those who actually have experience and a client list. In the event that the economy picks up and I can post a good enough looking resume to capture a job or an account as a web master, what should I do to insure I don&#039;t stumble and lose these precious first assignment? Thanks.</description>
		<content:encoded><![CDATA[<p>Greetings: I have the crudest command of software authoring tools to create, edit, upload and publish content to a web site. I know the skills I&#8217;ve acquired by trial and error are pale next to those who actually have experience and a client list. In the event that the economy picks up and I can post a good enough looking resume to capture a job or an account as a web master, what should I do to insure I don&#8217;t stumble and lose these precious first assignment? Thanks.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Huntington</title>
		<link>http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/comment-page-1/#comment-61015</link>
		<dc:creator>Huntington</dc:creator>
		<pubDate>Thu, 28 Sep 2006 03:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1720#comment-61015</guid>
		<description>Does anyone know if it&#039;s possible to use a regular expression with a PHP require statemnet?  I use the require statement to pull in code from a .inc file into an .html file.  I&#039;d like to be able to pull in code from &lt;strong&gt;only a portion&lt;/strong&gt; of the .inc file.  For example, only the first three list items in the file: &lt;li&gt;one&lt;/li&gt;&lt;li&gt;two&lt;/li&gt;&lt;li&gt;three&lt;/li&gt;</description>
		<content:encoded><![CDATA[<p>Does anyone know if it&#8217;s possible to use a regular expression with a PHP require statemnet?  I use the require statement to pull in code from a .inc file into an .html file.  I&#8217;d like to be able to pull in code from <strong>only a portion</strong> of the .inc file.  For example, only the first three list items in the file: &lt;li&gt;one&lt;/li&gt;&lt;li&gt;two&lt;/li&gt;&lt;li&gt;three&lt;/li&gt;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Andrei</title>
		<link>http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/comment-page-1/#comment-60865</link>
		<dc:creator>Andrei</dc:creator>
		<pubDate>Wed, 27 Sep 2006 16:01:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1720#comment-60865</guid>
		<description>Manuel,

&lt;blockquote&gt;
Harry,

you might have wanted to describe the limitations of regular expressions. Coming from a theoretical backround, I find it important to line out that you will never be able to parse anything that allows balanced bracket terms (as about all programming languages or HTML allows you to do).
&lt;/blockquote&gt;

You can certainly do that with the recursive matching feature in PCRE.

\( ( (?&gt;[^()]+) &#124; (?R) )* \)

Assuming extended option is set, this will match nested parenthesis.</description>
		<content:encoded><![CDATA[<p>Manuel,</p>
<blockquote><p>
Harry,</p>
<p>you might have wanted to describe the limitations of regular expressions. Coming from a theoretical backround, I find it important to line out that you will never be able to parse anything that allows balanced bracket terms (as about all programming languages or HTML allows you to do).
</p></blockquote>
<p>You can certainly do that with the recursive matching feature in PCRE.</p>
<p>\( ( (?&gt;[^()]+) | (?R) )* \)</p>
<p>Assuming extended option is set, this will match nested parenthesis.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: HarryF</title>
		<link>http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/comment-page-1/#comment-60750</link>
		<dc:creator>HarryF</dc:creator>
		<pubDate>Wed, 27 Sep 2006 09:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1720#comment-60750</guid>
		<description>&lt;blockquote&gt;
can you please make these blogs printable… I realy would like to have it on hard copy
&lt;/blockquote&gt;

Try a print preview - at least in Firefox &lt;a href=&quot;http://www.sitepoint.com/css2/printstyle.css&quot; rel=&quot;nofollow&quot;&gt;this CSS&lt;/a&gt; is stripping the two side panels and the top menu - seems like a serviceable print out to me.</description>
		<content:encoded><![CDATA[<blockquote><p>
can you please make these blogs printable… I realy would like to have it on hard copy
</p></blockquote>
<p>Try a print preview &#8211; at least in Firefox <a href="http://www.sitepoint.com/css2/printstyle.css" rel="nofollow">this CSS</a> is stripping the two side panels and the top menu &#8211; seems like a serviceable print out to me.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: HarryF</title>
		<link>http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/comment-page-1/#comment-60748</link>
		<dc:creator>HarryF</dc:creator>
		<pubDate>Wed, 27 Sep 2006 09:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1720#comment-60748</guid>
		<description>&lt;blockquote&gt;
you might have wanted to describe the limitations of regular expressions. Coming from a theoretical backround, I find it important to line out that you will never be able to parse anything that allows balanced bracket terms (as about all programming languages or HTML allows you to do).
&lt;/blockquote&gt;

Will get there (hopefully) - it&#039;s definately &lt;em&gt;not&lt;/em&gt; going as far as discussing Chomsky grammars and parsing theory but I will explore some practical tricks using regexes for simple lexing, good enough for a hand coded parser and the type of match/transform operations common to stuff like BBCode and wiki markup.

There&#039;s actually a dirth of useful discussion that bridges the gap between parsing theory and practice.

Would be really interested to see &lt;a href=&quot;http://www.usemod.com/cgi-bin/mb.pl?ConsumeParseRenderVsMatchTransform&quot; rel=&quot;nofollow&quot;&gt;this&lt;/a&gt; discussed more fully, for example. In addition to the points the author makes, there&#039;s the practical usability concern that &quot;syntax error: can&#039;t display this page&quot; is not acceptable for stuff like wiki markup - you have to allow room for users to make mistake and still display &quot;something&quot; so they can get some idea how to fix it.</description>
		<content:encoded><![CDATA[<blockquote><p>
you might have wanted to describe the limitations of regular expressions. Coming from a theoretical backround, I find it important to line out that you will never be able to parse anything that allows balanced bracket terms (as about all programming languages or HTML allows you to do).
</p></blockquote>
<p>Will get there (hopefully) &#8211; it&#8217;s definately <em>not</em> going as far as discussing Chomsky grammars and parsing theory but I will explore some practical tricks using regexes for simple lexing, good enough for a hand coded parser and the type of match/transform operations common to stuff like BBCode and wiki markup.</p>
<p>There&#8217;s actually a dirth of useful discussion that bridges the gap between parsing theory and practice.</p>
<p>Would be really interested to see <a href="http://www.usemod.com/cgi-bin/mb.pl?ConsumeParseRenderVsMatchTransform" rel="nofollow">this</a> discussed more fully, for example. In addition to the points the author makes, there&#8217;s the practical usability concern that &#8220;syntax error: can&#8217;t display this page&#8221; is not acceptable for stuff like wiki markup &#8211; you have to allow room for users to make mistake and still display &#8220;something&#8221; so they can get some idea how to fix it.</p>]]></content:encoded>
	</item>
</channel>
</rss>
