Re: Re: Regex Problem

From: Date: Fri, 31 Jul 2009 20:25:35 +0000
Subject: Re: Re: Regex Problem
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-296144@lists.php.net to get a copy of this message
Shawn McKenzie wrote: > Igor Escobar wrote: >> No no, i need to make an regex to "match" the bold areas in my string. >> Anything between single quotes or double quotes (including quotes and >> double quotes). Understand? >> >> >> Regards, >> Igor Escobar >> Systems Analyst & Interface Designer >> >> + http://blog.igorescobar.com >> + http://www.igorescobar.com >> + @igorescobar (twitter) >> > That's not going to happen without some other criteria. There is no way > for the regex engine to guess at which sets of quotes belong inside > another set of quotes. > > -Shawn Especially since in one of your examples you don't even have an even number of quotes. -- Thanks! -Shawn http://www.spidean.com

« previous php.general (#296144) next »