Exception: Regexp::Scanner::UnknownPosixClassError

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

Overview

The POSIX class name was not recognized by the scanner.

Instance Method Summary collapse

Constructor Details

#initialize(text) ⇒ UnknownPosixClassError

Returns a new instance of UnknownPosixClassError.



69
70
71
# File 'lib/regexp_parser/scanner.rb', line 69

def initialize(text)
  super "Unknown POSIX class #{text}"
end