On Thursday, October 16, 2003, at 04:32 PM, Eugene Lee wrote:
Try inverting the greediness with a "U" pattern modifier:
"/$quote(.*)$quote:$quote(.*)$quote/U"
For more details:
http://www.php.net/manual/en/pcre.pattern.modifiers.php
Nope -- didn't help sorry... if there's two links in a bl
On Thu, Oct 16, 2003 at 02:23:45PM +1000, Justin French wrote:
:
: I have the following:
:
: \\1",
: $text
: );
: ?>
:
: It basically matches "link text":"url" with the added twist of having
: the quotes converted to “ or “ by a previous function.
:
: It works fine if there is one
// should work ...
prob. a better way to do this but its functional :)
-Peter
> -Original Message-
> From: :B nerdy [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, September 29, 2002 02:05
> To: [EMAIL PROTECTED]
> Subject: [PHP] preg help ?
>
>
> ive got a html document with the following
On Tuesday 02 July 2002 10:06, Justin French wrote:
> what's the correct pattern for "one or more whitespaces" (including \n\r\t
> and anything else I'm missing)?
I prefer the PCRE so:
\s+
> what about "zero or more whitespaces"?
\s*
It's all in the manual!
--
Jason Wong -> Gremlins Associ
4 matches
Mail list logo