lib/regexp_parser/syntax/versions/2.0.0.rb



module Regexp::Syntax
  # use the last 1.9 release as the base
  class V2_0_0 < Regexp::Syntax::V1_9
    def initialize
      super

      implements :keep,        Keep::All
      implements :conditional, Conditional::All
      implements :property,    UnicodeProperty::V2_0_0
      implements :nonproperty, UnicodeProperty::V2_0_0
      implements :type,        CharacterType::Clustered

      excludes   :property,    :newline
      excludes   :nonproperty, :newline
    end
  end
end