class Regexp::Scanner::InvalidGroupError

Invalid group. Used for named groups.

Public Class Methods

new(what, reason) click to toggle source
Calls superclass method Regexp::Scanner::ValidationError::new
# File lib/regexp_parser/scanner.rb, line 39
def initialize(what, reason)
  super "Invalid #{what}, #{reason}."
end