Class: RegexpRepetition::TestCases

Inherits:
Object
  • Object
show all
Defined in:
app/models/regexp_repetition.rb

Overview

initialize

Constant Summary collapse

Any =
RegexpRepetition.new(RegexpParse::TestCases::Any_binary_char, 0, UnboundedFixnum::Inf, RegexpParse::TestCases::Any_binary_string)
Many =
RegexpRepetition.new(RegexpParse::TestCases::Any_binary_char, 1, UnboundedFixnum::Inf, ".+")
Dot_star =
RegexpRepetition.new(['.'], 0, UnboundedFixnum::Inf, RegexpParse::TestCases::Any_binary_string)
One_to_ten =
RegexpRepetition.new('.', 1, 10)
One_a =
RegexpRepetition.new('a', UnboundedRange::Once)
Any_length =
Any.repetition_length
Many_length =
Many.repetition_length
Quantified_repetition =
RegexpTree.new([".", ["{", "3", ",", "4", "}"]])