note 101475 added to function.preg-match

From: Date: Sun, 19 Dec 2010 10:48:58 +0000
Subject: note 101475 added to function.preg-match
Groups: php.notes 
Request: Send a blank email to php-notes+get-175052@lists.php.net to get a copy of this message
@clbmuvn If you use the "preg_last_error ()", you can see the function "preg_match()" generate a "PREG_BACKTRACK_LIMIT_ERROR" error. Evaluate the appropriateness of using the following equivalent pattern that does not generate errors /^00+(?:[0-1]{6,}00+){3,}/ ---- Server IP: 69.147.83.197 Probable Submitter: 151.67.44.212 ---- Manual Page -- http://www.php.net/manual/en/function.preg-match.php Edit -- https://master.php.net/note/edit/101475 Del: integrated -- https://master.php.net/note/delete/101475/integrated Del: useless -- https://master.php.net/note/delete/101475/useless Del: bad code -- https://master.php.net/note/delete/101475/bad+code Del: spam -- https://master.php.net/note/delete/101475/spam Del: non-english -- https://master.php.net/note/delete/101475/non-english Del: in docs -- https://master.php.net/note/delete/101475/in+docs Del: other reasons-- https://master.php.net/note/delete/101475 Reject -- https://master.php.net/note/reject/101475 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#175052) next »