7stud -- wrote:

> regex = Regexp.new("<html>(.*)</html>", Regexp::MULTILINE)

...oh, yeah.  Normally, a . matches any character except a newline.  The 
regex .* matches any character 0 or more times--but to get it to match 
newlines as well, you have to specify Regxp::MULTILINE.
-- 
Posted via http://www.ruby-forum.com/.