Removing more code thanks to the Regexp object