ごとけんです "foobar".gsub(/([fb])/, "\\1".upcase) #=> "foobar" となるのですが、これはどうして "FooBar" とならないのですか? 評価される順番の規則を教えてくださいまし。 -- gotoken