RegexpError
RegexpError has not been discovered yet
![](/assets/images/undiscovered.png)
Ruby's
RegexpError
class Raised when given an invalid regexp expression.
Regexp.new("?")
raises the exception:
RegexpError: target of repeat operator is not specified: /?/