adding to the string class method to_regex