[PHP] Re: Function that escapes special caracters from regular expressions

2002-04-07 Thread Charlie Killian

I don't now of one.

Charlie

 Is there one?




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Function that escapes special caracters from regular expressions

2002-04-07 Thread CC Zona

In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Charlie Killian) wrote:

  Is there one?

 I don't now of one.

That's because PHP doesn't have one, it has two: 
http://php.net/preg-quote and http://php.net/quotemeta.  (Read the docs 
carefully; these functions escape slightly different character sets...)

-- 
CC

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php