note 30007 added to function.preg-replace

From: Date: Tue, 04 Mar 2003 01:05:46 +0000
Subject: note 30007 added to function.preg-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-44806@lists.php.net to get a copy of this message
if there's going to be leading text before your expression begins matching, the text will be in $1, concattenated with your first memory subsitution. do a (.*)$yourexpression to match all the preceeding text into $1 itself, and then your first (memory_expression) will be in $2. -- http://www.php.net/manual/en/function.preg-replace.php http://master.php.net/manage/user-notes.php?action=edit+30007 http://master.php.net/manage/user-notes.php?action=delete+30007 http://master.php.net/manage/user-notes.php?action=reject+30007

« previous php.notes (#44806) next »