note 74586 added to function.preg-grep

From: Date: Wed, 18 Apr 2007 17:54:54 +0000
Subject: note 74586 added to function.preg-grep
Groups: php.notes 
Request: Send a blank email to php-notes+get-125555@lists.php.net to get a copy of this message
When the pattern is bounded by '/' character, it must be escaped by \ in the pattern, like this: preg_match_all('/<b>((?:(?!<\/b>).)*)<\/b>/is',$string,$matches); BTW, good example. ---- Server IP: 195.70.37.52 Probable Submitter: 89.132.95.253 ---- Manual Page -- http://www.php.net/manual/en/function.preg-grep.php Edit -- https://master.php.net/note/edit/74586 Del: integrated -- https://master.php.net/note/delete/74586/integrated Del: useless -- https://master.php.net/note/delete/74586/useless Del: bad code -- https://master.php.net/note/delete/74586/bad+code Del: spam -- https://master.php.net/note/delete/74586/spam Del: non-english -- https://master.php.net/note/delete/74586/non-english Del: in docs -- https://master.php.net/note/delete/74586/in+docs Del: other reasons-- https://master.php.net/note/delete/74586 Reject -- https://master.php.net/note/reject/74586 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#125555) next »