[MacRuby] #1089: Performance: Regexp#match is slow.