From: Daniel Carrera Date: 2003-04-17T06:47:33+09:00 Subject: Re: [Q] Reg. Expressios with "\n" > > I want an RE that matches this string, but '.' doesn't match the \n > > character. I guess I could replace the \n's by something else, but I'd > > rather not alter the original string if I can avoid it. > > IIRC you can use the multiline modifier "m" on > the RE. I haven't tried this: > > str =~ /(.*<\/html>)/m Thanks! that worked. -- Daniel Carrera Graduate Teaching Assistant. Math Dept. University of Maryland. (301) 405-5137