<?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"
	>
<channel>
	<title>Comments on: Tokenization using regular expression sub patterns</title>
	<atom:link href="http://www.sitepoint.com/blogs/2008/01/19/tokenization-using-regular-expression-sub-patterns/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2008/01/19/tokenization-using-regular-expression-sub-patterns/</link>
	<description></description>
	<pubDate>Sun, 20 Jul 2008 01:51:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: HarryF</title>
		<link>http://www.sitepoint.com/blogs/2008/01/19/tokenization-using-regular-expression-sub-patterns/#comment-607562</link>
		<dc:creator>HarryF</dc:creator>
		<pubDate>Sun, 20 Jan 2008 09:35:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/01/19/tokenization-using-regular-expression-sub-patterns/#comment-607562</guid>
		<description>&lt;blockquote&gt;
a single, long regular expression can often be more inefficient than small regular expressions due to backtracking.
&lt;/blockquote&gt;

Interesting point although that might well be outweighed having to make additional calls in PHP or Python, depending on what you're doing.</description>
		<content:encoded><![CDATA[<blockquote><p>
a single, long regular expression can often be more inefficient than small regular expressions due to backtracking.
</p></blockquote>
<p>Interesting point although that might well be outweighed having to make additional calls in PHP or Python, depending on what you&#8217;re doing.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.sitepoint.com/blogs/2008/01/19/tokenization-using-regular-expression-sub-patterns/#comment-607299</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sun, 20 Jan 2008 02:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/01/19/tokenization-using-regular-expression-sub-patterns/#comment-607299</guid>
		<description>a single, long regular expression can often be more inefficient than small regular expressions due to backtracking.</description>
		<content:encoded><![CDATA[<p>a single, long regular expression can often be more inefficient than small regular expressions due to backtracking.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Skunk</title>
		<link>http://www.sitepoint.com/blogs/2008/01/19/tokenization-using-regular-expression-sub-patterns/#comment-606383</link>
		<dc:creator>Skunk</dc:creator>
		<pubDate>Fri, 18 Jan 2008 23:21:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/01/19/tokenization-using-regular-expression-sub-patterns/#comment-606383</guid>
		<description>Interesting fact (well, I think so at least): the Django template engine uses a single regular expression to tokenize the entire template. That's the main reason it's so fast compared to many of the other Python template languages out there. Take a look at this: http://code.djangoproject.com/browser/django/trunk/django/template/__init__.py#L70 (in particular line 90, where tag_re is declared).</description>
		<content:encoded><![CDATA[<p>Interesting fact (well, I think so at least): the Django template engine uses a single regular expression to tokenize the entire template. That&#8217;s the main reason it&#8217;s so fast compared to many of the other Python template languages out there. Take a look at this: <a href="http://code.djangoproject.com/browser/django/trunk/django/template/__init__.py#L70" rel="nofollow">http://code.djangoproject.com/browser/django/trunk/django/template/__init__.py#L70</a> (in particular line 90, where tag_re is declared).</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Beaver</title>
		<link>http://www.sitepoint.com/blogs/2008/01/19/tokenization-using-regular-expression-sub-patterns/#comment-606296</link>
		<dc:creator>Greg Beaver</dc:creator>
		<pubDate>Fri, 18 Jan 2008 20:35:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/01/19/tokenization-using-regular-expression-sub-patterns/#comment-606296</guid>
		<description>PHP_LexerGenerator takes this principle and combines it with the idea of states to  implement a re2c-like lexer generator grammar for PHP.  http://pear.php.net/PHP_LexerGenerator</description>
		<content:encoded><![CDATA[<p>PHP_LexerGenerator takes this principle and combines it with the idea of states to  implement a re2c-like lexer generator grammar for PHP.  <a href="http://pear.php.net/PHP_LexerGenerator" rel="nofollow">http://pear.php.net/PHP_LexerGenerator</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: phpimpact</title>
		<link>http://www.sitepoint.com/blogs/2008/01/19/tokenization-using-regular-expression-sub-patterns/#comment-606224</link>
		<dc:creator>phpimpact</dc:creator>
		<pubDate>Fri, 18 Jan 2008 19:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/01/19/tokenization-using-regular-expression-sub-patterns/#comment-606224</guid>
		<description>Thanks to guys like you Andrei PHP is on the top. Thanks man!</description>
		<content:encoded><![CDATA[<p>Thanks to guys like you Andrei PHP is on the top. Thanks man!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Andrei Z</title>
		<link>http://www.sitepoint.com/blogs/2008/01/19/tokenization-using-regular-expression-sub-patterns/#comment-606137</link>
		<dc:creator>Andrei Z</dc:creator>
		<pubDate>Fri, 18 Jan 2008 17:23:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/2008/01/19/tokenization-using-regular-expression-sub-patterns/#comment-606137</guid>
		<description>Another good way to tokenize is with preg_split() and PREG_SPLIT_DELIM_CAPTURE option. See my Regex Clinic slides on http://gravitonic.com/talks</description>
		<content:encoded><![CDATA[<p>Another good way to tokenize is with preg_split() and PREG_SPLIT_DELIM_CAPTURE option. See my Regex Clinic slides on <a href="http://gravitonic.com/talks" rel="nofollow">http://gravitonic.com/talks</a></p>]]></content:encoded>
	</item>
</channel>
</rss>
