Re: Re: cvs: php-src /ext/pcre TODO
| From: | Andrei Zmievski | Date: | Mon, 10 Apr 2006 19:40:50 +0000 |
| Subject: | Re: Re: cvs: php-src /ext/pcre TODO | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-22708@lists.php.net to get a copy of this message | ||
On Apr 9, 2006, at 6:31 AM, Derick Rethans wrote:
We should only do that is the regexp is the *only* parameter that can make pcre_exec fail. If the subject string can influence this we should not show a warning as you'd have to silence that by hand then.But subject string and pattern work hand in hand. If you write a bad pattern, it might run okay on a short string, but fail on a larger one (by exceeding backtracking limit, for example). -Andrei