Exception: Regexp::Scanner::UnknownPosixClassError

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

Overview

The POSIX class name was not recognized by the scanner.

Instance Method Summary collapse

Methods inherited from ValidationError

for, types

Constructor Details

#initialize(text, _) ⇒ UnknownPosixClassError

Returns a new instance of UnknownPosixClassError.



59
60
61
# File 'lib/regexp_parser/scanner/errors/validation_error.rb', line 59

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