note 54366 deleted from function.preg-replace by didou

From: Date: Sun, 23 Apr 2006 22:49:08 +0000
Subject: note 54366 deleted from function.preg-replace by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-109223@lists.php.net to get a copy of this message
Note Submitter: Karl Kangur ---- Sometimes when you format your own code with the squared bracets [ and ] your code will contain new lines, but the (.*?) will not work because . (dot) accepts everything but a new line (talk about bad luck), you can add the new line manually like that ((.|\n)*?). It took me a while to figure it out without any experience.

« previous php.notes (#109223) next »