note 101475 deleted from function.preg-match by danbrown

From: Date: Sun, 19 Dec 2010 17:15:40 +0000
Subject: note 101475 deleted from function.preg-match by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-175059@lists.php.net to get a copy of this message
Note Submitter: ciropellegrino at libero dot it ---- @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,}/

« previous php.notes (#175059) next »