From: 7stud -- Date: 2009-03-23T18:41:11+09:00 Subject: Re: Regular expression 7stud -- wrote: > regex = Regexp.new("(.*)", 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/.