Exception: Regexp::Scanner::InvalidGroupOption

Inherits:
ValidationError show all
Defined in:
lib/regexp_parser/scanner.rb

Overview

Invalid groupOption. Used for inline options.

Instance Method Summary collapse

Constructor Details

#initialize(option, text) ⇒ InvalidGroupOption

Returns a new instance of InvalidGroupOption.



47
48
49
# File 'lib/regexp_parser/scanner.rb', line 47

def initialize(option, text)
  super "Invalid group option #{option} in #{text}"
end