mruby/mruby — pull request #847 by bovi (2013-02-17 12:16:54+00:00)
Title: String#gsub fix with last character

Due to the reason that the current String#gsub implementation uses String#split it will forget to replace the last character in case it is a hit.