Re: Regular expression
| From: | Greg Donald | Date: | Thu, 07 Oct 2004 18:42:59 +0000 |
| Subject: | Re: Regular expression | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-198873@lists.php.net to get a copy of this message | ||
On Thu, 7 Oct 2004 12:12:10 -0500 (CDT), Hans H. Anderson
<email@hansanderson.com> wrote:
> It could be that your $html doesn't match quite right, too (tabs and newlines
> differ from $html to the regular expression). So I tried this with success:
The 's' modifier will assist with matching across newlines:
http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/