note 49632 deleted from function.preg-replace by didou
| From: | didou@php.net | Date: | Mon, 17 Apr 2006 13:47:14 +0000 |
| Subject: | note 49632 deleted from function.preg-replace by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-108339@lists.php.net to get a copy of this message | ||
Note Submitter: pingju at stud dot ntnu dot no
----
In example 5 shown above, it is said: $document should contain an HTML document.
As I can see, to remove the Javascript segment from $document, it must be a string, or only
Javascript segment within one line of $document can be removed, i.e there is not \n in between
<script and </script>.