Re: Using a perl regex

From: Date: Wed, 11 Feb 2004 17:28:50 +0000
Subject: Re: Using a perl regex
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177426@lists.php.net to get a copy of this message
Thanks Kelly (and Richard), That did the job :) Salut, Verdon On 2/11/04 12:22 PM, "Kelly Hallman" <khallman@ultrafancy.com> wrote: > 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" :)

« previous php.general (#177426) next »