Re[2]: [PHP] Regular Expression Problem
| From: | Richard Luckhurst | Date: | Wed, 24 Jan 2007 23:23:04 +0000 |
| Subject: | Re[2]: [PHP] Regular Expression Problem | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-247732@lists.php.net to get a copy of this message | ||
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
RL Thanks very much. That solved my problem and I my now getting exactly what I
RL want. I had seen the reference to greedy and ungreedy but had not understood the
RL concept.
RL Regards
RL Richard