class RegexpError - Ruby 2.2.4 Core API Reference API Reference

Ruby 2.2 Core API

class RegexpError

Raised when given an invalid regexp expression.

Regexp.new("?")

raises the exception:

RegexpError: target of repeat operator is not specified: /?/

In Files

  • re.c

Parent

StandardError