note 98773 added to function.preg-replace

From: Date: Tue, 06 Jul 2010 22:43:30 +0000
Subject: note 98773 added to function.preg-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-170743@lists.php.net to get a copy of this message
Here's a better expression to remove php tags from content: /<\?.*?\?>/s The "s" pattern modifier makes the period meta-character (.) include newlines. ---- Server IP: 69.147.83.197 Probable Submitter: 69.178.189.242 ---- Manual Page -- http://www.php.net/manual/en/function.preg-replace.php Edit -- https://master.php.net/note/edit/98773 Del: integrated -- https://master.php.net/note/delete/98773/integrated Del: useless -- https://master.php.net/note/delete/98773/useless Del: bad code -- https://master.php.net/note/delete/98773/bad+code Del: spam -- https://master.php.net/note/delete/98773/spam Del: non-english -- https://master.php.net/note/delete/98773/non-english Del: in docs -- https://master.php.net/note/delete/98773/in+docs Del: other reasons-- https://master.php.net/note/delete/98773 Reject -- https://master.php.net/note/reject/98773 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#170743) next »