Regexp.new is unnecessary. /foo/ is a literal regexp object.