Class: RegexpError (Ruby 2.3.4)

    In Files

    • re.c

    Parent

    Class/Module Index [+]

    Quicksearch

    RegexpError

    Raised when given an invalid regexp expression.

    Regexp.new("?")
    

    raises the exception:

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