From: ts Date: 2005-02-24T23:44:34+09:00 Subject: Re: ruby-dev summary 25709-25740 >>>>> "D" == Daniel Berger writes: D> Can someone please provide some sample code for this? I'm not sure I D> get it. uln% ruby -e '/(?x+)/ =~ "xxxx" ; p $~[0]' "xxxx" uln% uln% ruby -e '/(?x+)/ =~ "xxxx" ; p $~[:name]' -e:1:in `[]': cannot convert Symbol into Integer (TypeError) from -e:1 uln% Guy Decoux