From: craig duncan Date: 2000-12-21T03:23:13+09:00 Subject: [ruby-talk:7782] Regex array subscripts Can someone explain why this is the case: s="one 123 two" => "one 123 two" /\d/ =~ s => 4 /\d+/ =~ s => 4 s[/\d/] => "1" s[/\d+/] => "123" I like it, but i can't find any explanation of what // returns that would explain it.