From: dblack@... Date: 2003-04-01T00:04:34+09:00 Subject: Re: Change to /.../.match("foo") behaviour in 1.6.8? Hi -- On Mon, 31 Mar 2003, ts wrote: > >>>>> "d" == dblack writes: > > d> I don't think that's changed. Can you give a whole demo of the > d> different behaviors? > > pigeon% ./ruby -ve 'a, b = /(.)/.match("ab"); p a,b' > ruby 1.4.6 (2000-08-16) [i686-linux] > "a" > "a" > pigeon% > > pigeon% ./ruby -ve 'a, b = /(.)/.match("ab"); p a,b' > ruby 1.6.0 (2000-09-19) [i686-linux] > # > nil > pigeon% I meant from 1.6.7 to 1.6.8, which was what Austin had mentioned: knossos:~$ ruby -ve 'a, b = /(.)/.match("ab"); p a,b' ruby 1.6.7 (2002-03-01) [i686-linux] # nil dblack@laptop:~$ ruby -ve 'a, b = /(.)/.match("ab"); p a,b' ruby 1.6.8 (2002-12-24) [i686-linux-gnu] # nil David -- David Alan Black home: dblack@superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav