Sha256: c6e397b2f0c511c640cc1df09e4e5acb9d42f895922e5c6ac587c1f7da775933

Contents?: true

Size: 826 Bytes

Versions: 126

Compression:

Stored size: 826 Bytes

Contents

module Regexp::Syntax
  module Token
    module Quantifier
      Greedy = %i[
        zero_or_one
        zero_or_more
        one_or_more
      ]

      Reluctant = %i[
        zero_or_one_reluctant
        zero_or_more_reluctant
        one_or_more_reluctant
      ]

      Possessive = %i[
        zero_or_one_possessive
        zero_or_more_possessive
        one_or_more_possessive
      ]

      Interval             = %i[interval]
      IntervalReluctant    = %i[interval_reluctant]
      IntervalPossessive   = %i[interval_possessive]

      IntervalAll = Interval + IntervalReluctant + IntervalPossessive

      V1_8_6 = Greedy + Reluctant + Interval + IntervalReluctant
      All = Greedy + Reluctant + Possessive + IntervalAll
      Type = :quantifier
    end

    Map[Quantifier::Type] = Quantifier::All
  end
end

Version data entries

126 entries across 124 versions & 18 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.9.2/lib/regexp_parser/syntax/token/quantifier.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.6.1/lib/regexp_parser/syntax/token/quantifier.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.6.1/lib/regexp_parser/syntax/token/quantifier.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.6.1/lib/regexp_parser/syntax/token/quantifier.rb
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.9.2/lib/regexp_parser/syntax/token/quantifier.rb
harbr-2.8.1 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.2/lib/regexp_parser/syntax/token/quantifier.rb
bison-0.1.0 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.9.0/lib/regexp_parser/syntax/token/quantifier.rb
mlh-rubocop-config-1.0.3 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.9.0/lib/regexp_parser/syntax/token/quantifier.rb
study_line-0.2.7 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.9.0/lib/regexp_parser/syntax/token/quantifier.rb
study_line-0.2.6 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.9.0/lib/regexp_parser/syntax/token/quantifier.rb
study_line-0.2.5 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.9.0/lib/regexp_parser/syntax/token/quantifier.rb
study_line-0.2.4 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.9.0/lib/regexp_parser/syntax/token/quantifier.rb
study_line-0.2.3 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.9.0/lib/regexp_parser/syntax/token/quantifier.rb
study_line-0.2.2 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.9.0/lib/regexp_parser/syntax/token/quantifier.rb
study_line-0.2.1 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.9.0/lib/regexp_parser/syntax/token/quantifier.rb
study_line-0.2.0 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.9.0/lib/regexp_parser/syntax/token/quantifier.rb
harbr-0.2.10 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.2/lib/regexp_parser/syntax/token/quantifier.rb
harbr-0.2.9 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.2/lib/regexp_parser/syntax/token/quantifier.rb
harbr-0.2.8 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.2/lib/regexp_parser/syntax/token/quantifier.rb
harbr-0.2.7 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.2/lib/regexp_parser/syntax/token/quantifier.rb