From: "David A. Black" Date: 2008-09-01T19:01:55+09:00 Subject: Re: Looking for a regular pattern Hi -- On Mon, 1 Sep 2008, Patrick He wrote: > Generally, "." matches characters including what "\s" matches. No, by default . does not match \n. You can make it do so with the /m modifier. David -- Rails training from David A. Black and Ruby Power and Light: Intro to Ruby on Rails January 12-15 Fort Lauderdale, FL Advancing with Rails January 19-22 Fort Lauderdale, FL * * Co-taught with Patrick Ewing! See http://www.rubypal.com for details and updates!