Class: Regexp::Syntax::V1_8_6

Inherits:
Base
  • Object
show all
Defined in:
lib/regexp_parser/syntax/versions/1.8.6.rb

Direct Known Subclasses

V1_9_1

Constant Summary

Constants included from Token

Token::All, Token::Map, Token::Types

Instance Method Summary collapse

Methods inherited from Base

#excludes, #features, #implementations, #implements, #implements!, #implements?, inspect, #normalize, #normalize_backref, #normalize_group

Constructor Details

#initializeV1_8_6

Returns a new instance of V1_8_6.



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/regexp_parser/syntax/versions/1.8.6.rb', line 3

def initialize
  super

  implements :anchor, Anchor::All
  implements :assertion, Assertion::Lookahead
  implements :backref, [:number]
  implements :posixclass, PosixClass::Standard
  implements :group, Group::All
  implements :meta, Meta::Extended
  implements :set, CharacterSet::All
  implements :type, CharacterType::Extended
  implements :escape,
    Escape::Basic + Escape::ASCII + Escape::Meta + Escape::Control
  implements :quantifier,
    Quantifier::Greedy + Quantifier::Reluctant +
    Quantifier::Interval + Quantifier::IntervalReluctant
end