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

Reply via email to