03-17-2008, 04:24 PM
|
#2 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
For the preg_* functions, the pattern needs to be surrounded by delimiters. Usually the delimiter is a forward slash: something like /^foo/
The PCRE Pattern Syntax page on the PHP manual should be more than enough to get you sorted.
|
|
|
|