class RegexpExamples::StarRepeater

When a klein star is used, e.g. ‘/a*/` Equivalent to `/a{0,}/`

Public Class Methods

new(group) click to toggle source
Calls superclass method RegexpExamples::BaseRepeater::new
# File lib/regexp-examples/repeaters.rb, line 51
def initialize(group)
  super
  @min_repeats = 0
  @max_repeats = RegexpExamples::Config.max_repeater_variance
end