In article <025c01c0dd7a$3b75d320$6a45c5d5@jaguar>,
[EMAIL PROTECTED] ("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.
>
> Ok, now it's time to get familiar with preg?
No, now it's time to get familiar with the online manual
<http://php.net/pgre-quote>, where you would quickly discover that
preg_quote can be used even by somone with zero knowledge of PCRE syntax.
--
CC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]