At 2003-07-05 20:01 +0200, Alan D'Angelo wrote:
>Try this:
>
>$text = "pot post pat patent";
>if(preg_match("/\bp\w+t\b/", $text, $array)){
>print $array[0];
>}
>?>
>
>the pattern in preg_match() does not have correct limit :)
It is probably also a good idea to use single quotes
('/\bp\w+t\b/'
Try this:
the pattern in preg_match() does not have correct limit :)
- Original Message -
From: "Gentian Hila" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 05, 2003 7:57 PM
Subject: [PHP] Delimiter must not be alphanumeric or backslash
hello there,
I am just lea
2 matches
Mail list logo