On Tuesday,  8 April 2003 at 13:37:29 +0900, Dave Thomas wrote:
> In the latest CVS:
> 
> irb(main):002:0> /c(a)t/ =~ "cat"
> => 0
> irb(main):003:0> "d#$1ve"
> => "d"
> 
> In older Rubies, the #$1 sequence was interpolated without swallowing 
> the rest of the string.
> 
> Also now I can create globals such as
> 
> irb(main):004:0> $1ve = "cat"
> => "cat"
> irb(main):005:0> "d#$1ve"
> => "dcat"
> 
> Cool feature, or wee bug?  :)
 
Hmm, I thought a variable name could only start
with a character or an underscore.
Seems to be the case for @1ve, @@1ve and 1ve.

Jim

-- 
Jim Freeze
----------
Anything that is good and useful is made of chocolate.