RE: [PHP] Re: help using ereg_replace()

From: Date: Mon, 14 Jan 2002 16:36:34 +0000
Subject: RE: [PHP] Re: help using ereg_replace()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-80472@lists.php.net to get a copy of this message
I own and have read "Mastering Regular Expressions" (excellent book). I've programmed perl for 3 years and have recently started migrating one of my projects into php. I can't stand ereg, I prefer preg. While functions such as substitute and match differ in syntax from perl to php, this book will teach you quite a bit about how to effectively use preg, which i've found to be easier, and faster than ereg. For the record, I like perl's syntax better... ;p Hope this helps, /bart -----Original Message----- From: Erik Price [mailto:pricee@hhbrown.com] Sent: Monday, January 14, 2002 11:26 AM To: liljim Cc: php-general@lists.php.net Subject: Re: [PHP] Re: help using ereg_replace() liljim, Thanks for the advice (and especially the explanation!) -- I note that you chose the Perl regexp engine rather than the "e" regexp engine (POSIX?). Quite a few people recommended O'Reilly's "Mastering Regular Expressions" over the weekend. Does anyone know if it covers the Perl syntax*? This seems like a good book to learn more. Erik * I don't know Perl On Monday, January 14, 2002, at 11:11 AM, liljim wrote: > I would use preg_replace to do this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#80472) next »