From: Shugo Maeda Date: 1999-03-05T15:03:15+09:00 Subject: [ruby-dev:5999] Re: [REQ] variable of regex 前田です。 WATANABE Hirofumi writes: > match 案は賛成. > #ていうか前田さんとこじゃすでに動いてるみたいだし. これだけですものね。 class Regexp def match(str) self =~ str return $~ end end # などと書くと採用されなくなってしまう...。 ところでMatchingDataからindexは取り出せないのでしたっけ? -- 前田 修吾