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?  :)


Cheers


Dave