note 120194 deleted from regexp.reference.onlyonce by cmb
| From: | cmb@php.net | Date: | Mon, 21 Nov 2016 16:33:14 +0000 |
| Subject: | note 120194 deleted from regexp.reference.onlyonce by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207260@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
>>>They said that the first pattern will be slower than second one when the subject string
>>>does not contain matches.
>>>But this is not truth.
It is truth. Chances are In your example preg_last_error () ! = 0 in the /(\D+|<\d+>)*[!?]/
case