Simon Strandgaard
10/8/2003 1:31:00 PM
On Wed, 08 Oct 2003 23:02:27 +0900, Dave Thomas wrote:
>
> On Wednesday, Oct 8, 2003, at 07:49 US/Central, Simon Strandgaard wrote:
>> assert_match(/b \nc/x, "abcd")
>>
>> fails ?
>>
>> programming-ruby says that newlines will be ignored?
>>
>
> Physical newlines. The \n is part of the pattern
>
> assert_match(/b
> c/x, "abcd")
I was blind, and now I see. Thanks comp.lang.ruby ;-)
--
Simon Strandgaard