Re: Using a perl regex
| From: | Kelly Hallman | Date: | Wed, 11 Feb 2004 17:22:00 +0000 |
| Subject: | Re: Using a perl regex | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177425@lists.php.net to get a copy of this message | ||
On Wed, 11 Feb 2004, Verdon Vaillancourt wrote:
> I thought I might have tried that and just did again.
>
> I receive the error; Warning : Delimiter must not be alphanumeric or
> backslash in /server/path/to/functions.php on line xxxx
>
> I'm not sure if this means I have to escape something in the pattern,
> but will look further.
I think it means you need to put a delimiter around your regex...
Typically you would use slashes (preg_match("/regex/")) but the character
can be other than slash.. i.e. "not alphanumeric or backslash" :)
--
Kelly Hallman
// Ultrafancy