Class: JSONSchema::RegexOptions

Inherits:
Object
  • Object
show all
Defined in:
sig/jsonschema.rbs

Overview

Regex engine options.

Instance Method Summary collapse

Constructor Details

#initializeRegexOptions

Create regex engine options.

Parameters:

  • size_limit

    Maximum compiled regex size in bytes

  • dfa_size_limit

    Maximum DFA size in bytes

  • size_limit: (Integer, nil)
  • dfa_size_limit: (Integer, nil)


395
# File 'sig/jsonschema.rbs', line 395

def initialize: (?size_limit: Integer?, ?dfa_size_limit: Integer?) -> void

Instance Method Details

#dfa_size_limitInteger?

Maximum DFA size.

Returns:

  • (Integer, nil)


401
# File 'sig/jsonschema.rbs', line 401

def dfa_size_limit: () -> Integer?

#inspectString

Returns:

  • (String)


403
# File 'sig/jsonschema.rbs', line 403

def inspect: () -> String

#size_limitInteger?

Maximum compiled regex size.

Returns:

  • (Integer, nil)


398
# File 'sig/jsonschema.rbs', line 398

def size_limit: () -> Integer?

#to_sString

Returns:

  • (String)


404
# File 'sig/jsonschema.rbs', line 404

def to_s: () -> String