Warning: The following versions of Ruby have reached End of Life and are no longer supported
Raised when given an invalid regexp expression.
Regexp.new("?")
raises the exception:
RegexpError: target of repeat operator is not specified: /?/