Sha256: 5a46ea109319e64348d063691643e684296e341c2be990684fc19b4d7f75943e

Contents?: true

Size: 665 Bytes

Versions: 2

Compression:

Stored size: 665 Bytes

Contents

require 'spec_helper'

RSpec.describe(Regexp::Syntax::V1_8_6) do
  include_examples 'syntax', Regexp::Syntax.new('ruby/1.8.6'),
  implements: {
    assertion: T::Assertion::Lookahead,
    backref: T::Backreference::Plain,
    escape: T::Escape::Basic + T::Escape::ASCII + T::Escape::Meta + T::Escape::Control,
    group: T::Group::V1_8_6,
    quantifier: T::Quantifier::Greedy + T::Quantifier::Reluctant + T::Quantifier::Interval + T::Quantifier::IntervalReluctant
  },
  excludes: {
    assertion: T::Assertion::Lookbehind,
    backref: T::Backreference::All - T::Backreference::Plain + T::SubexpressionCall::All,
    quantifier: T::Quantifier::Possessive
  }
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
phillipug-foodie-0.1.0 .vendor/ruby/3.0.0/gems/regexp_parser-2.2.0/spec/syntax/versions/1.8.6_spec.rb
regexp_parser-2.2.0 spec/syntax/versions/1.8.6_spec.rb