Re: Regular expression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 7 Oct 2004 12:12:10 -0500 (CDT), Hans H. Anderson
<email@xxxxxxxxxxxxxxxx> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux