note 96694 added to book.regex
| From: | allanbattthinkcomputer dot com at osu1 dot php dot net | Date: | Thu, 11 Mar 2010 21:20:19 +0000 |
| Subject: | note 96694 added to book.regex | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166925@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 64.71.164.2
Probable Submitter: 72.62.4.90
----
Manual Page -- http://www.php.net/manual/en/book.regex.php
Edit -- https://master.php.net/note/edit/96694
Del: integrated -- https://master.php.net/note/delete/96694/integrated
Del: useless -- https://master.php.net/note/delete/96694/useless
Del: bad code -- https://master.php.net/note/delete/96694/bad+code
Del: spam -- https://master.php.net/note/delete/96694/spam
Del: non-english -- https://master.php.net/note/delete/96694/non-english
Del: in docs -- https://master.php.net/note/delete/96694/in+docs
Del: other reasons-- https://master.php.net/note/delete/96694
Reject -- https://master.php.net/note/reject/96694
Search -- https://master.php.net/manage/user-notes.php