note 96693 deleted from book.regex by danbrown
| From: | danbrown@php.net | Date: | Thu, 11 Mar 2010 21:25:21 +0000 |
| Subject: | note 96693 deleted from book.regex by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-166929@lists.php.net to get a copy of this message | ||
Note Submitter: allanb at thinkcomputer dot com
----
Yeah, I'd agree. My boss is pissed. I'm switching over a big file with lots of ereg()
calls to preg_match() calls, adding slashes or #s on both sides of the pattern arg. And hoping
there's not subtle gotchas or differences between the regex syntax that impact us. In fact
I've seen a few bugs in these regexes... hope the bugs work the same.
Would be REALLY REALLY nice if the manual had a Guide to Migrating from eregs to pregs, with
step-by-step instructions for how to convert this call to that call, this funny bracketed expression
with a funny character to that replacement that works the same. stuff like that.