note 84312 added to function.preg-match

From: Date: Tue, 08 Jul 2008 23:11:36 +0000
Subject: note 84312 added to function.preg-match
Groups: php.notes 
Request: Send a blank email to php-notes+get-141283@lists.php.net to get a copy of this message
preg_match and preg_replace_callback doesnt match up in the structure of the array that they fill-up for a match. preg_match, as the example shows, supports named patterns, whereas preg_replace_callback doesnt seem to support it at all. It seem to ignore any named pattern matched. ---- Server IP: 92.48.74.199 Probable Submitter: 77.96.94.123 ---- Manual Page -- http://www.php.net/manual/en/function.preg-match.php Edit -- https://master.php.net/note/edit/84312 Del: integrated -- https://master.php.net/note/delete/84312/integrated Del: useless -- https://master.php.net/note/delete/84312/useless Del: bad code -- https://master.php.net/note/delete/84312/bad+code Del: spam -- https://master.php.net/note/delete/84312/spam Del: non-english -- https://master.php.net/note/delete/84312/non-english Del: in docs -- https://master.php.net/note/delete/84312/in+docs Del: other reasons-- https://master.php.net/note/delete/84312 Reject -- https://master.php.net/note/reject/84312 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#141283) next »