note 101616 added to regexp.reference.subpatterns

From: Date: Thu, 30 Dec 2010 13:52:43 +0000
Subject: note 101616 added to regexp.reference.subpatterns
Groups: php.notes 
Request: Send a blank email to php-notes+get-175330@lists.php.net to get a copy of this message
Because alternative branches are tried from left to right, and options are not reset until the end of the subpattern is reached, an option setting in one branch does affect subsequent branches, so the above patterns match "SUNDAY" as well as "Saturday". ?? Do you mean SUNDAY as well as SATURDAY or saturday? ---- Server IP: 69.147.83.197 Probable Submitter: 213.233.183.4 ---- Manual Page -- http://www.php.net/manual/en/regexp.reference.subpatterns.php Edit -- https://master.php.net/note/edit/101616 Del: integrated -- https://master.php.net/note/delete/101616/integrated Del: useless -- https://master.php.net/note/delete/101616/useless Del: bad code -- https://master.php.net/note/delete/101616/bad+code Del: spam -- https://master.php.net/note/delete/101616/spam Del: non-english -- https://master.php.net/note/delete/101616/non-english Del: in docs -- https://master.php.net/note/delete/101616/in+docs Del: other reasons-- https://master.php.net/note/delete/101616 Reject -- https://master.php.net/note/reject/101616 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#175330) next »