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:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 11:26 AM To: liljim Cc: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- 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]