Re: still not friends with RegExps..
| From: | CC Zona | Date: | Tue, 15 May 2001 19:43:53 +0000 |
| Subject: | Re: still not friends with RegExps.. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52917@lists.php.net to get a copy of this message | ||
In article <00c301c0dd69$a64de040$6a45c5d5@jaguar>,
pgerzson@freestart.hu ("Gyozo Papp") wrote:
> There is a function quotemeta() which escapes all special regexp character
> such as:
> . \ + * ? [ ^ ] ( $ )
> with a '\' except one the '|' pipe.
Forget quotemeta(). Use preg_quote() instead.
--
CC