In article <00c301c0dd69$a64de040$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.

-- 
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]

Reply via email to