Class: Regexp::Syntax::V2_0_0

Inherits:
V1_9
  • Object
show all
Defined in:
lib/regexp_parser/syntax/versions/2.0.0.rb

Overview

use the last 1.9 release as the base

Instance Method Summary collapse

Constructor Details

#initializeV2_0_0

Returns a new instance of V2_0_0.



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

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