Fix i18n regex warning in Ruby 1.8