<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/1.5.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Regular Expressions, PHP and Newline Characters</title>
	<link>http://www.robertbolton.com/regular-expressions-php-and-newline-characters</link>
	<description>A lot to do about nothing</description>
	<pubDate>Tue, 06 Jan 2009 21:27:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.2</generator>

	<item>
 		<title>Comment on Regular Expressions, PHP and Newline Characters by: Jerome</title>
		<link>http://www.robertbolton.com/regular-expressions-php-and-newline-characters#comment-30381</link>
		<pubDate>Fri, 14 Nov 2008 19:05:23 +0000</pubDate>
		<guid>http://www.robertbolton.com/regular-expressions-php-and-newline-characters#comment-30381</guid>
					<description>Thank you

I encountered a similar problem.

I googled : 
php regular expression &quot;any character including newline&quot;

and I found your page that helped me to solve my problem.</description>
		<content:encoded><![CDATA[	<p>Thank you</p>
	<p>I encountered a similar problem.</p>
	<p>I googled :<br />
php regular expression &#8220;any character including newline&#8221;</p>
	<p>and I found your page that helped me to solve my problem.
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Regular Expressions, PHP and Newline Characters by: Nasir</title>
		<link>http://www.robertbolton.com/regular-expressions-php-and-newline-characters#comment-19722</link>
		<pubDate>Mon, 07 Apr 2008 12:57:57 +0000</pubDate>
		<guid>http://www.robertbolton.com/regular-expressions-php-and-newline-characters#comment-19722</guid>
					<description>Thanks heaps - that bloody 's' at the end of the match statement was the winner!</description>
		<content:encoded><![CDATA[	<p>Thanks heaps - that bloody &#8217;s&#8217; at the end of the match statement was the winner!
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Regular Expressions, PHP and Newline Characters by: Zboruri ieftine</title>
		<link>http://www.robertbolton.com/regular-expressions-php-and-newline-characters#comment-11194</link>
		<pubDate>Sun, 23 Sep 2007 20:59:58 +0000</pubDate>
		<guid>http://www.robertbolton.com/regular-expressions-php-and-newline-characters#comment-11194</guid>
					<description>Finally an answer to my troubles. That non-working preg_match line almost killed me. Damn dot! :)

Thanks</description>
		<content:encoded><![CDATA[	<p>Finally an answer to my troubles. That non-working preg_match line almost killed me. Damn dot! <img src='http://www.robertbolton.com/wp-images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
	<p>Thanks
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Regular Expressions, PHP and Newline Characters by: Administrator</title>
		<link>http://www.robertbolton.com/regular-expressions-php-and-newline-characters#comment-3052</link>
		<pubDate>Thu, 12 Apr 2007 14:53:17 +0000</pubDate>
		<guid>http://www.robertbolton.com/regular-expressions-php-and-newline-characters#comment-3052</guid>
					<description>I didn't know that. I have never run into a problem with regular expressions and memory, but the strings I am matching against are never that large. Regular expressions are very memory intensive compared with other string functions...</description>
		<content:encoded><![CDATA[	<p>I didn&#8217;t know that. I have never run into a problem with regular expressions and memory, but the strings I am matching against are never that large. Regular expressions are very memory intensive compared with other string functions&#8230;
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Regular Expressions, PHP and Newline Characters by: juv</title>
		<link>http://www.robertbolton.com/regular-expressions-php-and-newline-characters#comment-3050</link>
		<pubDate>Thu, 12 Apr 2007 14:03:58 +0000</pubDate>
		<guid>http://www.robertbolton.com/regular-expressions-php-and-newline-characters#comment-3050</guid>
					<description>thanks for the &quot;s&quot; info.

I was using ([\n]*.)* but if PCRE is limited in memory (number of returned matches is limited) you'll get a segmentation fault with PHP

Hosting companies limit the max number of returns as it can be considered a security hole</description>
		<content:encoded><![CDATA[	<p>thanks for the &#8220;s&#8221; info.</p>
	<p>I was using ([n]*.)* but if PCRE is limited in memory (number of returned matches is limited) you&#8217;ll get a segmentation fault with PHP</p>
	<p>Hosting companies limit the max number of returns as it can be considered a security hole
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
