Posted by Andrew Richardson on 03/07/06 01:16
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. :)
Navigation:
[Reply to this message]
|