Re: preg_match not working
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: preg_match not working

From: Andrew Richardson <andrew@ar106REMOVETHIS.wanadoo.co.uk>
Date: Tue Mar 07 2006 - 00:16:49 CET

Michael Winter wrote:

> On 06/03/2006 22:56, Andrew Richardson wrote:

<snip>
 
>> Am I doing something wrong here?
>
> You aren't including delimiters. The first character in a pattern will
> be considered to be a pattern delimiter. A closing delimiter marks the
> end of the pattern and the start of the flags.

<snip>
 
> Hope that helps,
> Mike

Thanks Mike, I'd done regexes using preg_match before and forgot about the
delimiters. Now all I have to do is get my regex to work. :)
Received on Mon May 1 02:28:34 2006