Call gsub with a Regexp instead of a String

String#gsub works around 13% faster when using a Regexp in lieu of a String.