note 84173 added to function.preg-replace

From: Date: Wed, 02 Jul 2008 07:41:16 +0000
Subject: note 84173 added to function.preg-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-141055@lists.php.net to get a copy of this message
@Jasper: I gave a simplistic example for readability. Look at this less example for what I am trying to convey: <?php // Does not work preg_replace('` ((<!\[CDATA\[)(.+?)(\]\]>))|((<!--)(.+?)(-->))|((<pre>)(.+?)(</pre>)) `sme', '"$1". strtolower("$2"). "$3"', $t); ?> Even for that simpler example, the truth remains that what one would expect to work, does not work. ---- Server IP: 209.41.74.194 Probable Submitter: 74.77.136.53 ---- Manual Page -- http://www.php.net/manual/en/function.preg-replace.php Edit -- https://master.php.net/note/edit/84173 Del: integrated -- https://master.php.net/note/delete/84173/integrated Del: useless -- https://master.php.net/note/delete/84173/useless Del: bad code -- https://master.php.net/note/delete/84173/bad+code Del: spam -- https://master.php.net/note/delete/84173/spam Del: non-english -- https://master.php.net/note/delete/84173/non-english Del: in docs -- https://master.php.net/note/delete/84173/in+docs Del: other reasons-- https://master.php.net/note/delete/84173 Reject -- https://master.php.net/note/reject/84173 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#141055) next »