Re: Never mind ... stupid me :-/ {was Re: [PHP] ereg-replace ... how to catch :'( [crying smiley] ???}
| From: | -{ Rene Brehmer }- | Date: | Wed, 14 Apr 2004 22:56:05 +0000 |
| Subject: | Re: Never mind ... stupid me :-/ {was Re: [PHP] ereg-replace ... how to catch :'( [crying smiley] ???} | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183384@lists.php.net to get a copy of this message | ||
At 15:02 14-04-2004, Tom Rogers wrote:
Hi, Thursday, April 15, 2004, 12:51:20 AM, you wrote: RB> Never mind y'all ... me stupid ... RB> obviously the ( has meaning, and needs to be escaped ... was starting to RB> think it could only do 2 ereg's in 1 script *sigh* RB> Sorry for wasting time and bandwidth ... the function now looks like this RB> and works : You might find this very useful :) http://weitz.de/regex-coach/ Helps my old brain ....Hmm ... that looks like it only does Perl-based regex ??? .... Thing is the programs I normally do regex in either use Posix based or Unix (Cshell) based (mostly used at the latter, cuz that's what Forte Agent uses for its filters) ... how big a difference is there from the posix based to the perl based anyway ??? ... the samples in the manual ain't the same for preg_replace() and ereg_replace(), so it's a bit hard to get a quick glimpse of how big the difference really is ... (or for the _match() ones for that matter)... But thx ... looks useful :) Rene -- Rene Brehmer aka Metalbunny ~ If you don't like what I have to say ... don't read it ~ http://metalbunny.net/ References, tools, and other useful stuff... Check out the new Metalbunny forums @ http://forums.metalbunny.net/