Hi -- On Thu, 7 Apr 2005, Han Holl wrote: > On Apr 7, 2005 12:34 PM, David A. Black >> The /m suffix means that \n is included in . (dot). >> > Yes, looked it up in the Pickaxe, and indeed that's what it says. > > This is from man perlre: > m Treat string as multiple lines. That is, change "^" and "$" > from matching the start or end of the string to matching then > start or end of any line anywhere within the string. > > This should go on the page I've seen somewhere with gotchas. > Perl RE is quite widespread, and when ruby deviates from it it's > easy to trip up. Not if you use Ruby more and more :-) David -- David A. Black dblack / wobblini.net