Re: Regular expression problems
| From: | Simon Garner | Date: | Mon, 26 Feb 2001 03:55:16 +0000 |
| Subject: | Re: Regular expression problems | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41643@lists.php.net to get a copy of this message | ||
From: "Dan Watt" <danwatt@mediaone.net>
> ok, that was my problem.... Was using ereg... All the places I read about
> how to do regular expressions (book, online...) did NOT clarify that \w
and
> such would need preg.. Thanks!
>
No prob - yeah, \w is a Perl feature :)
(preg = PCRE = Perl Compatible Regular Expressions)
Cheers
Simon Garner