From: Simon Strandgaard Date: 2003-10-08T23:09:09+09:00 Subject: Re: usage of Regexp::EXTENDED On Wed, 08 Oct 2003 16:51:52 +0200, Simon Strandgaard wrote: > Feeding the same string into // and into Regexp.new, > yields to different results. A bit inconsist.. >>inconsistent<< > > > 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/x, "abcd") I forgot the 'x' ^^^ > end > > > Just my thought ;-) revision 0.2: spell correction. -- Simon Strandgaard