Class: Regexp::Syntax::V1_9_1

Inherits:
V1_8_6 show all
Defined in:
lib/regexp_parser/syntax/versions/1.9.1.rb

Direct Known Subclasses

V1_9_3

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_9_1

Returns a new instance of V1_9_1.



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

def initialize
  super

  implements :assertion, Assertion::Lookbehind
  implements :backref, Backreference::V1_9_1 + SubexpressionCall::All
  implements :posixclass, PosixClass::Extensions
  implements :nonposixclass, PosixClass::All
  implements :escape, Escape::Unicode + Escape::Hex + Escape::Octal
  implements :type, CharacterType::Hex
  implements :property, UnicodeProperty::V1_9_0
  implements :nonproperty, UnicodeProperty::V1_9_0
  implements :quantifier,
    Quantifier::Possessive + Quantifier::IntervalPossessive
end