Re: Warning: REG_EPAREN: in library_functions.inc on line 12

From: Date: Fri, 07 Jul 2000 23:59:51 +0000
Subject: Re: Warning: REG_EPAREN: in library_functions.inc on line 12
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5486@lists.php.net to get a copy of this message
In article <F99F3F7C7049D211BC700008C7B1F0900759AAA4@texas.econophone.com>, jay.paulson@viatel.com ("Paulson, Joseph V. \"Jay\"") wrote: > I'm having to eregi_replace all the ()'s with {}'s because I think that the I don't think it's the ()'s but the 'apostrophes' that need escaping. Try addSlashes() on the data. Just in case I'm wrong, though, ( and/or { is a special character in regex, so you need to escape it: $data = eregi_replace("\\(", "\\{", $data); -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#5486) next »