ammar/regexp_parser

View on GitHub
lib/regexp_parser/scanner/errors/premature_end_error.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Regexp::Scanner
  # Unexpected end of pattern
  class PrematureEndError < ScannerError
    def initialize(where = '')
      super "Premature end of pattern at #{where}"
    end
  end
end