From: Simon Strandgaard Date: 2003-10-08T22:49:05+09:00 Subject: Re: usage of Regexp::EXTENDED Feeding the same string into // and into Regexp.new, yields to different results. A bit inconsist.. def test_option_extended3 # ignoring newline re = Regexp.new("b\nc", Regexp::EXTENDED) assert_match(re, "abcd") end def test_option_extended4 # does not ignore newline... makes no sense? assert_no_match(/b\nc/, "abcd") end Just my thought ;-) -- Simon Strandgaard