Yukihiro Matsumoto <m... / ruby-lang.org> wrote:
>
> str.index(/ba/, 5) ?
>

No, String#index returns Fixnum (position), but I want MatchData.

Regexp#match(string, start=0) in Ruby1.9 is the best solution I want.
Is there any plan to implement it into Ruby1.8?

--
makoto kuwata