Re: Regular Expression Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Luckhurst wrote:
> Hi Jochem,
> 
> JM> <accent voice="pirate">
> JM>         you be needing an ungreedy modifier on yer regex.
> JM> </accent>
> 
> JM> see here:
> JM> http://php.net/manual/en/reference.pcre.pattern.modifiers.php
> 
> Thanks very much. That solved my problem and I my now getting exactly what I
> want. I had seen the reference to greedy and ungreedy but had not understood the
> concept.

for a better understanding I recommend the film WallStreet - that
should get you up to speed on the concept of greed ;-)

> 
> Regards
> 
> Richard
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux