regexp_parser 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +11 -1
- data/lib/regexp_parser/expression/classes/property.rb +7 -2
- data/lib/regexp_parser/parser.rb +11 -3
- data/lib/regexp_parser/scanner/property.rl +37 -12
- data/lib/regexp_parser/scanner.rb +598 -574
- data/lib/regexp_parser/syntax/ruby/2.3.0.rb +3 -0
- data/lib/regexp_parser/syntax/ruby/2.4.0.rb +3 -0
- data/lib/regexp_parser/syntax/ruby/2.5.0.rb +3 -0
- data/lib/regexp_parser/syntax/ruby/2.6.0.rb +13 -0
- data/lib/regexp_parser/syntax/ruby/2.6.rb +8 -0
- data/lib/regexp_parser/syntax/tokens/unicode_property.rb +42 -12
- data/lib/regexp_parser/syntax/versions.rb +8 -86
- data/lib/regexp_parser/syntax.rb +1 -1
- data/lib/regexp_parser/version.rb +1 -1
- data/test/parser/test_properties.rb +34 -3
- data/test/scanner/test_all.rb +6 -0
- data/test/scanner/test_emojis.rb +31 -0
- data/test/scanner/test_properties.rb +12 -2
- data/test/scanner/test_unicode_blocks.rb +1 -1
- data/test/syntax/ruby/test_1.9.3.rb +2 -2
- data/test/syntax/ruby/test_2.2.0.rb +2 -2
- data/test/syntax/ruby/test_files.rb +14 -0
- data/test/syntax/test_syntax.rb +2 -0
- metadata +195 -187
- checksums.yaml +0 -7
@@ -30,7 +30,7 @@ class ScannerUnicodeBlocks < Test::Unit::TestCase
|
|
30
30
|
'InCombining_Half_Marks' => :block_incombining_half_marks,
|
31
31
|
'InControl_Pictures' => :block_incontrol_pictures,
|
32
32
|
'InCurrency_Symbols' => :block_incurrency_symbols,
|
33
|
-
'
|
33
|
+
'InCyrillic_Supplement' => :block_incyrillic_supplement,
|
34
34
|
'InCyrillic' => :block_incyrillic,
|
35
35
|
'InDevanagari' => :block_indevanagari,
|
36
36
|
'InDingbats' => :block_indingbats,
|
@@ -10,11 +10,11 @@ class TestSyntaxRuby_V193 < Test::Unit::TestCase
|
|
10
10
|
tests = {
|
11
11
|
:implements => {
|
12
12
|
:property => [
|
13
|
-
UnicodeProperty::
|
13
|
+
UnicodeProperty::Script_V193 + UnicodeProperty::Age_V193
|
14
14
|
].flatten,
|
15
15
|
|
16
16
|
:nonproperty => [
|
17
|
-
UnicodeProperty::
|
17
|
+
UnicodeProperty::Script_V193 + UnicodeProperty::Age_V193
|
18
18
|
].flatten,
|
19
19
|
},
|
20
20
|
}
|
@@ -10,11 +10,11 @@ class TestSyntaxRuby_V220 < Test::Unit::TestCase
|
|
10
10
|
tests = {
|
11
11
|
:implements => {
|
12
12
|
:property => [
|
13
|
-
UnicodeProperty::
|
13
|
+
UnicodeProperty::Script_V220 + UnicodeProperty::Age_V220
|
14
14
|
].flatten,
|
15
15
|
|
16
16
|
:nonproperty => [
|
17
|
-
UnicodeProperty::
|
17
|
+
UnicodeProperty::Script_V220 + UnicodeProperty::Age_V220
|
18
18
|
].flatten,
|
19
19
|
},
|
20
20
|
}
|
@@ -308,4 +308,18 @@ class TestSyntaxFiles < Test::Unit::TestCase
|
|
308
308
|
|
309
309
|
assert syntax.kind_of?(Regexp::Syntax::Ruby::V250)
|
310
310
|
end
|
311
|
+
|
312
|
+
# 2.6 syntax files
|
313
|
+
def test_syntax_file_2_6_0
|
314
|
+
syntax = Regexp::Syntax.new 'ruby/2.6.0'
|
315
|
+
|
316
|
+
assert syntax.kind_of?(Regexp::Syntax::Ruby::V25)
|
317
|
+
assert syntax.kind_of?(Regexp::Syntax::Ruby::V260)
|
318
|
+
end
|
319
|
+
|
320
|
+
def test_syntax_file_2_6_alias
|
321
|
+
syntax = Regexp::Syntax.new 'ruby/2.6'
|
322
|
+
|
323
|
+
assert syntax.kind_of?(Regexp::Syntax::Ruby::V260)
|
324
|
+
end
|
311
325
|
end
|
data/test/syntax/test_syntax.rb
CHANGED
@@ -21,6 +21,8 @@ class TestSyntax < Test::Unit::TestCase
|
|
21
21
|
|
22
22
|
def test_syntax_supported?
|
23
23
|
assert_equal false, Regexp::Syntax.supported?('ruby/1.1.1')
|
24
|
+
assert_equal true, Regexp::Syntax.supported?('ruby/2.4.3')
|
25
|
+
assert_equal true, Regexp::Syntax.supported?('ruby/2.5')
|
24
26
|
|
25
27
|
Regexp::Syntax::VERSIONS.each do |version|
|
26
28
|
assert_equal true, Regexp::Syntax.supported?(version)
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: regexp_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.10
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Ammar Ali
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2018-03-04 00:00:00.000000000 Z
|
12
13
|
dependencies: []
|
13
14
|
description: A library for tokenizing, lexing, and parsing Ruby regular expressions.
|
14
15
|
email:
|
@@ -17,258 +18,265 @@ executables: []
|
|
17
18
|
extensions: []
|
18
19
|
extra_rdoc_files: []
|
19
20
|
files:
|
20
|
-
- ChangeLog
|
21
|
-
- Gemfile
|
22
|
-
- LICENSE
|
23
|
-
- README.md
|
24
|
-
- Rakefile
|
25
21
|
- lib/regexp_parser.rb
|
26
22
|
- lib/regexp_parser/expression.rb
|
27
|
-
- lib/regexp_parser/
|
28
|
-
- lib/regexp_parser/
|
23
|
+
- lib/regexp_parser/syntax.rb
|
24
|
+
- lib/regexp_parser/lexer.rb
|
25
|
+
- lib/regexp_parser/parser.rb
|
26
|
+
- lib/regexp_parser/version.rb
|
27
|
+
- lib/regexp_parser/token.rb
|
28
|
+
- lib/regexp_parser/expression/subexpression.rb
|
29
|
+
- lib/regexp_parser/expression/methods/strfregexp.rb
|
30
|
+
- lib/regexp_parser/expression/methods/tests.rb
|
31
|
+
- lib/regexp_parser/expression/methods/traverse.rb
|
32
|
+
- lib/regexp_parser/expression/quantifier.rb
|
29
33
|
- lib/regexp_parser/expression/classes/backref.rb
|
34
|
+
- lib/regexp_parser/expression/classes/alternation.rb
|
30
35
|
- lib/regexp_parser/expression/classes/conditional.rb
|
31
|
-
- lib/regexp_parser/expression/classes/escape.rb
|
32
|
-
- lib/regexp_parser/expression/classes/free_space.rb
|
33
|
-
- lib/regexp_parser/expression/classes/group.rb
|
34
|
-
- lib/regexp_parser/expression/classes/keep.rb
|
35
|
-
- lib/regexp_parser/expression/classes/literal.rb
|
36
|
-
- lib/regexp_parser/expression/classes/property.rb
|
37
36
|
- lib/regexp_parser/expression/classes/root.rb
|
38
37
|
- lib/regexp_parser/expression/classes/set.rb
|
38
|
+
- lib/regexp_parser/expression/classes/group.rb
|
39
|
+
- lib/regexp_parser/expression/classes/free_space.rb
|
39
40
|
- lib/regexp_parser/expression/classes/type.rb
|
40
|
-
- lib/regexp_parser/expression/
|
41
|
-
- lib/regexp_parser/expression/
|
42
|
-
- lib/regexp_parser/expression/
|
43
|
-
- lib/regexp_parser/expression/
|
41
|
+
- lib/regexp_parser/expression/classes/keep.rb
|
42
|
+
- lib/regexp_parser/expression/classes/anchor.rb
|
43
|
+
- lib/regexp_parser/expression/classes/property.rb
|
44
|
+
- lib/regexp_parser/expression/classes/literal.rb
|
45
|
+
- lib/regexp_parser/expression/classes/escape.rb
|
44
46
|
- lib/regexp_parser/expression/sequence.rb
|
45
|
-
- lib/regexp_parser/expression/subexpression.rb
|
46
|
-
- lib/regexp_parser/lexer.rb
|
47
|
-
- lib/regexp_parser/parser.rb
|
48
|
-
- lib/regexp_parser/scanner.rb
|
49
|
-
- lib/regexp_parser/scanner/property.rl
|
50
|
-
- lib/regexp_parser/scanner/scanner.rl
|
51
|
-
- lib/regexp_parser/syntax.rb
|
52
|
-
- lib/regexp_parser/syntax/any.rb
|
53
47
|
- lib/regexp_parser/syntax/base.rb
|
54
|
-
- lib/regexp_parser/syntax/
|
55
|
-
- lib/regexp_parser/syntax/
|
56
|
-
- lib/regexp_parser/syntax/
|
57
|
-
- lib/regexp_parser/syntax/
|
48
|
+
- lib/regexp_parser/syntax/versions.rb
|
49
|
+
- lib/regexp_parser/syntax/any.rb
|
50
|
+
- lib/regexp_parser/syntax/tokens.rb
|
51
|
+
- lib/regexp_parser/syntax/tokens/backref.rb
|
52
|
+
- lib/regexp_parser/syntax/tokens/meta.rb
|
53
|
+
- lib/regexp_parser/syntax/tokens/conditional.rb
|
54
|
+
- lib/regexp_parser/syntax/tokens/quantifier.rb
|
55
|
+
- lib/regexp_parser/syntax/tokens/group.rb
|
56
|
+
- lib/regexp_parser/syntax/tokens/assertion.rb
|
57
|
+
- lib/regexp_parser/syntax/tokens/keep.rb
|
58
|
+
- lib/regexp_parser/syntax/tokens/character_type.rb
|
59
|
+
- lib/regexp_parser/syntax/tokens/character_set.rb
|
60
|
+
- lib/regexp_parser/syntax/tokens/anchor.rb
|
61
|
+
- lib/regexp_parser/syntax/tokens/unicode_property.rb
|
62
|
+
- lib/regexp_parser/syntax/tokens/escape.rb
|
63
|
+
- lib/regexp_parser/syntax/ruby/2.2.0.rb
|
64
|
+
- lib/regexp_parser/syntax/ruby/2.1.7.rb
|
58
65
|
- lib/regexp_parser/syntax/ruby/1.9.2.rb
|
59
|
-
- lib/regexp_parser/syntax/ruby/
|
60
|
-
- lib/regexp_parser/syntax/ruby/1.9.rb
|
61
|
-
- lib/regexp_parser/syntax/ruby/2.0.0.rb
|
62
|
-
- lib/regexp_parser/syntax/ruby/2.0.rb
|
63
|
-
- lib/regexp_parser/syntax/ruby/2.1.0.rb
|
64
|
-
- lib/regexp_parser/syntax/ruby/2.1.10.rb
|
65
|
-
- lib/regexp_parser/syntax/ruby/2.1.2.rb
|
66
|
+
- lib/regexp_parser/syntax/ruby/2.3.1.rb
|
66
67
|
- lib/regexp_parser/syntax/ruby/2.1.3.rb
|
67
|
-
- lib/regexp_parser/syntax/ruby/2.1.4.rb
|
68
|
-
- lib/regexp_parser/syntax/ruby/2.1.5.rb
|
69
|
-
- lib/regexp_parser/syntax/ruby/2.1.6.rb
|
70
|
-
- lib/regexp_parser/syntax/ruby/2.1.7.rb
|
71
|
-
- lib/regexp_parser/syntax/ruby/2.1.8.rb
|
72
|
-
- lib/regexp_parser/syntax/ruby/2.1.9.rb
|
73
|
-
- lib/regexp_parser/syntax/ruby/2.1.rb
|
74
|
-
- lib/regexp_parser/syntax/ruby/2.2.0.rb
|
75
|
-
- lib/regexp_parser/syntax/ruby/2.2.1.rb
|
76
|
-
- lib/regexp_parser/syntax/ruby/2.2.2.rb
|
77
|
-
- lib/regexp_parser/syntax/ruby/2.2.3.rb
|
78
68
|
- lib/regexp_parser/syntax/ruby/2.2.4.rb
|
69
|
+
- lib/regexp_parser/syntax/ruby/2.3.5.rb
|
70
|
+
- lib/regexp_parser/syntax/ruby/1.8.rb
|
71
|
+
- lib/regexp_parser/syntax/ruby/1.8.7.rb
|
72
|
+
- lib/regexp_parser/syntax/ruby/2.1.2.rb
|
79
73
|
- lib/regexp_parser/syntax/ruby/2.2.5.rb
|
80
|
-
- lib/regexp_parser/syntax/ruby/2.2.6.rb
|
81
|
-
- lib/regexp_parser/syntax/ruby/2.2.7.rb
|
82
|
-
- lib/regexp_parser/syntax/ruby/2.2.8.rb
|
83
|
-
- lib/regexp_parser/syntax/ruby/2.2.9.rb
|
84
|
-
- lib/regexp_parser/syntax/ruby/2.2.rb
|
85
|
-
- lib/regexp_parser/syntax/ruby/2.3.0.rb
|
86
|
-
- lib/regexp_parser/syntax/ruby/2.3.1.rb
|
87
|
-
- lib/regexp_parser/syntax/ruby/2.3.2.rb
|
88
|
-
- lib/regexp_parser/syntax/ruby/2.3.3.rb
|
89
74
|
- lib/regexp_parser/syntax/ruby/2.3.4.rb
|
90
|
-
- lib/regexp_parser/syntax/ruby/
|
91
|
-
- lib/regexp_parser/syntax/ruby/
|
92
|
-
- lib/regexp_parser/syntax/ruby/2.
|
75
|
+
- lib/regexp_parser/syntax/ruby/1.9.rb
|
76
|
+
- lib/regexp_parser/syntax/ruby/1.8.6.rb
|
77
|
+
- lib/regexp_parser/syntax/ruby/2.2.1.rb
|
78
|
+
- lib/regexp_parser/syntax/ruby/2.1.6.rb
|
79
|
+
- lib/regexp_parser/syntax/ruby/1.9.3.rb
|
80
|
+
- lib/regexp_parser/syntax/ruby/2.3.0.rb
|
81
|
+
- lib/regexp_parser/syntax/ruby/2.1.rb
|
82
|
+
- lib/regexp_parser/syntax/ruby/2.1.9.rb
|
93
83
|
- lib/regexp_parser/syntax/ruby/2.4.0.rb
|
84
|
+
- lib/regexp_parser/syntax/ruby/2.5.rb
|
85
|
+
- lib/regexp_parser/syntax/ruby/2.1.8.rb
|
94
86
|
- lib/regexp_parser/syntax/ruby/2.4.1.rb
|
87
|
+
- lib/regexp_parser/syntax/ruby/2.5.0.rb
|
88
|
+
- lib/regexp_parser/syntax/ruby/2.4.rb
|
89
|
+
- lib/regexp_parser/syntax/ruby/2.0.rb
|
95
90
|
- lib/regexp_parser/syntax/ruby/2.4.2.rb
|
91
|
+
- lib/regexp_parser/syntax/ruby/2.2.8.rb
|
92
|
+
- lib/regexp_parser/syntax/ruby/2.1.10.rb
|
93
|
+
- lib/regexp_parser/syntax/ruby/2.6.0.rb
|
94
|
+
- lib/regexp_parser/syntax/ruby/2.3.rb
|
95
|
+
- lib/regexp_parser/syntax/ruby/2.2.9.rb
|
96
|
+
- lib/regexp_parser/syntax/ruby/2.2.rb
|
96
97
|
- lib/regexp_parser/syntax/ruby/2.4.3.rb
|
97
|
-
- lib/regexp_parser/syntax/ruby/2.
|
98
|
-
- lib/regexp_parser/syntax/ruby/2.
|
99
|
-
- lib/regexp_parser/syntax/ruby/2.
|
100
|
-
- lib/regexp_parser/syntax/
|
101
|
-
- lib/regexp_parser/syntax/
|
102
|
-
- lib/regexp_parser/syntax/
|
103
|
-
- lib/regexp_parser/syntax/
|
104
|
-
- lib/regexp_parser/syntax/
|
105
|
-
- lib/regexp_parser/syntax/
|
106
|
-
- lib/regexp_parser/syntax/
|
107
|
-
- lib/regexp_parser/syntax/
|
108
|
-
- lib/regexp_parser/syntax/
|
109
|
-
- lib/regexp_parser/syntax/
|
110
|
-
- lib/regexp_parser/
|
111
|
-
-
|
112
|
-
-
|
113
|
-
- lib/regexp_parser/syntax/versions.rb
|
114
|
-
- lib/regexp_parser/token.rb
|
115
|
-
- lib/regexp_parser/version.rb
|
116
|
-
- regexp_parser.gemspec
|
117
|
-
- test/expression/test_all.rb
|
118
|
-
- test/expression/test_base.rb
|
119
|
-
- test/expression/test_clone.rb
|
120
|
-
- test/expression/test_conditionals.rb
|
121
|
-
- test/expression/test_free_space.rb
|
122
|
-
- test/expression/test_set.rb
|
123
|
-
- test/expression/test_strfregexp.rb
|
124
|
-
- test/expression/test_subexpression.rb
|
125
|
-
- test/expression/test_tests.rb
|
126
|
-
- test/expression/test_to_h.rb
|
127
|
-
- test/expression/test_to_s.rb
|
128
|
-
- test/expression/test_traverse.rb
|
98
|
+
- lib/regexp_parser/syntax/ruby/2.6.rb
|
99
|
+
- lib/regexp_parser/syntax/ruby/2.2.6.rb
|
100
|
+
- lib/regexp_parser/syntax/ruby/2.0.0.rb
|
101
|
+
- lib/regexp_parser/syntax/ruby/2.2.2.rb
|
102
|
+
- lib/regexp_parser/syntax/ruby/2.1.5.rb
|
103
|
+
- lib/regexp_parser/syntax/ruby/2.3.3.rb
|
104
|
+
- lib/regexp_parser/syntax/ruby/2.2.3.rb
|
105
|
+
- lib/regexp_parser/syntax/ruby/1.9.1.rb
|
106
|
+
- lib/regexp_parser/syntax/ruby/2.1.4.rb
|
107
|
+
- lib/regexp_parser/syntax/ruby/2.3.2.rb
|
108
|
+
- lib/regexp_parser/syntax/ruby/2.1.0.rb
|
109
|
+
- lib/regexp_parser/syntax/ruby/2.2.7.rb
|
110
|
+
- lib/regexp_parser/syntax/ruby/2.3.6.rb
|
111
|
+
- lib/regexp_parser/scanner.rb
|
112
|
+
- test/token/test_token.rb
|
113
|
+
- test/token/test_all.rb
|
129
114
|
- test/helpers.rb
|
130
|
-
- test/lexer/test_all.rb
|
131
|
-
- test/lexer/test_conditionals.rb
|
132
115
|
- test/lexer/test_keep.rb
|
116
|
+
- test/lexer/test_conditionals.rb
|
117
|
+
- test/lexer/test_refcalls.rb
|
133
118
|
- test/lexer/test_literals.rb
|
119
|
+
- test/lexer/test_all.rb
|
134
120
|
- test/lexer/test_nesting.rb
|
135
|
-
- test/
|
136
|
-
- test/parser/
|
121
|
+
- test/parser/test_sets.rb
|
122
|
+
- test/parser/test_properties.rb
|
123
|
+
- test/parser/test_types.rb
|
124
|
+
- test/parser/test_groups.rb
|
137
125
|
- test/parser/test_alternation.rb
|
126
|
+
- test/parser/test_free_space.rb
|
138
127
|
- test/parser/test_anchors.rb
|
139
|
-
- test/parser/test_conditionals.rb
|
140
|
-
- test/parser/test_errors.rb
|
141
128
|
- test/parser/test_escapes.rb
|
142
|
-
- test/parser/test_free_space.rb
|
143
|
-
- test/parser/test_groups.rb
|
144
|
-
- test/parser/test_keep.rb
|
145
|
-
- test/parser/test_properties.rb
|
146
129
|
- test/parser/test_quantifiers.rb
|
130
|
+
- test/parser/test_keep.rb
|
131
|
+
- test/parser/test_conditionals.rb
|
132
|
+
- test/parser/test_errors.rb
|
147
133
|
- test/parser/test_refcalls.rb
|
148
|
-
- test/parser/
|
149
|
-
- test/parser/test_types.rb
|
150
|
-
- test/scanner/test_all.rb
|
151
|
-
- test/scanner/test_anchors.rb
|
152
|
-
- test/scanner/test_conditionals.rb
|
153
|
-
- test/scanner/test_errors.rb
|
154
|
-
- test/scanner/test_escapes.rb
|
155
|
-
- test/scanner/test_free_space.rb
|
156
|
-
- test/scanner/test_groups.rb
|
157
|
-
- test/scanner/test_keep.rb
|
158
|
-
- test/scanner/test_literals.rb
|
159
|
-
- test/scanner/test_meta.rb
|
160
|
-
- test/scanner/test_properties.rb
|
161
|
-
- test/scanner/test_quantifiers.rb
|
162
|
-
- test/scanner/test_refcalls.rb
|
163
|
-
- test/scanner/test_scripts.rb
|
164
|
-
- test/scanner/test_sets.rb
|
165
|
-
- test/scanner/test_types.rb
|
166
|
-
- test/scanner/test_unicode_blocks.rb
|
134
|
+
- test/parser/test_all.rb
|
167
135
|
- test/support/disable_autotest.rb
|
168
|
-
- test/support/runner.rb
|
169
136
|
- test/support/warning_extractor.rb
|
137
|
+
- test/support/runner.rb
|
138
|
+
- test/expression/test_subexpression.rb
|
139
|
+
- test/expression/test_base.rb
|
140
|
+
- test/expression/test_free_space.rb
|
141
|
+
- test/expression/test_to_h.rb
|
142
|
+
- test/expression/test_set.rb
|
143
|
+
- test/expression/test_conditionals.rb
|
144
|
+
- test/expression/test_clone.rb
|
145
|
+
- test/expression/test_tests.rb
|
146
|
+
- test/expression/test_to_s.rb
|
147
|
+
- test/expression/test_traverse.rb
|
148
|
+
- test/expression/test_all.rb
|
149
|
+
- test/expression/test_strfregexp.rb
|
150
|
+
- test/syntax/test_syntax.rb
|
151
|
+
- test/syntax/test_all.rb
|
152
|
+
- test/syntax/ruby/test_2.0.0.rb
|
170
153
|
- test/syntax/ruby/test_1.8.rb
|
171
154
|
- test/syntax/ruby/test_1.9.1.rb
|
172
|
-
- test/syntax/ruby/
|
173
|
-
- test/syntax/ruby/test_2.0.0.rb
|
155
|
+
- test/syntax/ruby/test_files.rb
|
174
156
|
- test/syntax/ruby/test_2.2.0.rb
|
157
|
+
- test/syntax/ruby/test_1.9.3.rb
|
175
158
|
- test/syntax/ruby/test_all.rb
|
176
|
-
- test/syntax/ruby/test_files.rb
|
177
|
-
- test/syntax/test_all.rb
|
178
|
-
- test/syntax/test_syntax.rb
|
179
159
|
- test/test_all.rb
|
180
|
-
- test/
|
181
|
-
- test/
|
160
|
+
- test/scanner/test_sets.rb
|
161
|
+
- test/scanner/test_properties.rb
|
162
|
+
- test/scanner/test_scripts.rb
|
163
|
+
- test/scanner/test_emojis.rb
|
164
|
+
- test/scanner/test_types.rb
|
165
|
+
- test/scanner/test_groups.rb
|
166
|
+
- test/scanner/test_meta.rb
|
167
|
+
- test/scanner/test_free_space.rb
|
168
|
+
- test/scanner/test_anchors.rb
|
169
|
+
- test/scanner/test_escapes.rb
|
170
|
+
- test/scanner/test_unicode_blocks.rb
|
171
|
+
- test/scanner/test_quantifiers.rb
|
172
|
+
- test/scanner/test_keep.rb
|
173
|
+
- test/scanner/test_conditionals.rb
|
174
|
+
- test/scanner/test_errors.rb
|
175
|
+
- test/scanner/test_refcalls.rb
|
176
|
+
- test/scanner/test_literals.rb
|
177
|
+
- test/scanner/test_all.rb
|
178
|
+
- lib/regexp_parser/scanner/property.rl
|
179
|
+
- lib/regexp_parser/scanner/scanner.rl
|
180
|
+
- Gemfile
|
181
|
+
- Rakefile
|
182
|
+
- LICENSE
|
183
|
+
- README.md
|
184
|
+
- ChangeLog
|
185
|
+
- regexp_parser.gemspec
|
182
186
|
homepage: http://github.com/ammar/regexp_parser
|
183
187
|
licenses:
|
184
188
|
- MIT
|
185
|
-
metadata:
|
186
|
-
issue_tracker: https://github.com/ammar/regexp_parser/issues
|
187
189
|
post_install_message:
|
188
190
|
rdoc_options:
|
189
|
-
-
|
190
|
-
-
|
191
|
+
- --inline-source
|
192
|
+
- --charset=UTF-8
|
191
193
|
require_paths:
|
192
194
|
- lib
|
193
195
|
required_ruby_version: !ruby/object:Gem::Requirement
|
196
|
+
none: false
|
194
197
|
requirements:
|
195
|
-
- -
|
198
|
+
- - ! '>='
|
196
199
|
- !ruby/object:Gem::Version
|
197
200
|
version: 1.9.1
|
198
201
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
|
+
none: false
|
199
203
|
requirements:
|
200
|
-
- -
|
204
|
+
- - ! '>='
|
201
205
|
- !ruby/object:Gem::Version
|
202
206
|
version: '0'
|
207
|
+
segments:
|
208
|
+
- 0
|
209
|
+
hash: -1388758294190323703
|
203
210
|
requirements: []
|
204
211
|
rubyforge_project:
|
205
|
-
rubygems_version:
|
212
|
+
rubygems_version: 1.8.23.2
|
206
213
|
signing_key:
|
207
|
-
specification_version:
|
214
|
+
specification_version: 3
|
208
215
|
summary: Scanner, lexer, parser for ruby's regular expressions
|
209
216
|
test_files:
|
210
|
-
- test/
|
211
|
-
- test/
|
212
|
-
- test/expression/test_clone.rb
|
213
|
-
- test/expression/test_conditionals.rb
|
214
|
-
- test/expression/test_free_space.rb
|
215
|
-
- test/expression/test_set.rb
|
216
|
-
- test/expression/test_strfregexp.rb
|
217
|
-
- test/expression/test_subexpression.rb
|
218
|
-
- test/expression/test_tests.rb
|
219
|
-
- test/expression/test_to_h.rb
|
220
|
-
- test/expression/test_to_s.rb
|
221
|
-
- test/expression/test_traverse.rb
|
217
|
+
- test/token/test_token.rb
|
218
|
+
- test/token/test_all.rb
|
222
219
|
- test/helpers.rb
|
223
|
-
- test/lexer/test_all.rb
|
224
|
-
- test/lexer/test_conditionals.rb
|
225
220
|
- test/lexer/test_keep.rb
|
221
|
+
- test/lexer/test_conditionals.rb
|
222
|
+
- test/lexer/test_refcalls.rb
|
226
223
|
- test/lexer/test_literals.rb
|
224
|
+
- test/lexer/test_all.rb
|
227
225
|
- test/lexer/test_nesting.rb
|
228
|
-
- test/
|
229
|
-
- test/parser/
|
226
|
+
- test/parser/test_sets.rb
|
227
|
+
- test/parser/test_properties.rb
|
228
|
+
- test/parser/test_types.rb
|
229
|
+
- test/parser/test_groups.rb
|
230
230
|
- test/parser/test_alternation.rb
|
231
|
+
- test/parser/test_free_space.rb
|
231
232
|
- test/parser/test_anchors.rb
|
232
|
-
- test/parser/test_conditionals.rb
|
233
|
-
- test/parser/test_errors.rb
|
234
233
|
- test/parser/test_escapes.rb
|
235
|
-
- test/parser/test_free_space.rb
|
236
|
-
- test/parser/test_groups.rb
|
237
|
-
- test/parser/test_keep.rb
|
238
|
-
- test/parser/test_properties.rb
|
239
234
|
- test/parser/test_quantifiers.rb
|
235
|
+
- test/parser/test_keep.rb
|
236
|
+
- test/parser/test_conditionals.rb
|
237
|
+
- test/parser/test_errors.rb
|
240
238
|
- test/parser/test_refcalls.rb
|
241
|
-
- test/parser/
|
242
|
-
- test/parser/test_types.rb
|
243
|
-
- test/scanner/test_all.rb
|
244
|
-
- test/scanner/test_anchors.rb
|
245
|
-
- test/scanner/test_conditionals.rb
|
246
|
-
- test/scanner/test_errors.rb
|
247
|
-
- test/scanner/test_escapes.rb
|
248
|
-
- test/scanner/test_free_space.rb
|
249
|
-
- test/scanner/test_groups.rb
|
250
|
-
- test/scanner/test_keep.rb
|
251
|
-
- test/scanner/test_literals.rb
|
252
|
-
- test/scanner/test_meta.rb
|
253
|
-
- test/scanner/test_properties.rb
|
254
|
-
- test/scanner/test_quantifiers.rb
|
255
|
-
- test/scanner/test_refcalls.rb
|
256
|
-
- test/scanner/test_scripts.rb
|
257
|
-
- test/scanner/test_sets.rb
|
258
|
-
- test/scanner/test_types.rb
|
259
|
-
- test/scanner/test_unicode_blocks.rb
|
239
|
+
- test/parser/test_all.rb
|
260
240
|
- test/support/disable_autotest.rb
|
261
|
-
- test/support/runner.rb
|
262
241
|
- test/support/warning_extractor.rb
|
242
|
+
- test/support/runner.rb
|
243
|
+
- test/expression/test_subexpression.rb
|
244
|
+
- test/expression/test_base.rb
|
245
|
+
- test/expression/test_free_space.rb
|
246
|
+
- test/expression/test_to_h.rb
|
247
|
+
- test/expression/test_set.rb
|
248
|
+
- test/expression/test_conditionals.rb
|
249
|
+
- test/expression/test_clone.rb
|
250
|
+
- test/expression/test_tests.rb
|
251
|
+
- test/expression/test_to_s.rb
|
252
|
+
- test/expression/test_traverse.rb
|
253
|
+
- test/expression/test_all.rb
|
254
|
+
- test/expression/test_strfregexp.rb
|
255
|
+
- test/syntax/test_syntax.rb
|
256
|
+
- test/syntax/test_all.rb
|
257
|
+
- test/syntax/ruby/test_2.0.0.rb
|
263
258
|
- test/syntax/ruby/test_1.8.rb
|
264
259
|
- test/syntax/ruby/test_1.9.1.rb
|
265
|
-
- test/syntax/ruby/
|
266
|
-
- test/syntax/ruby/test_2.0.0.rb
|
260
|
+
- test/syntax/ruby/test_files.rb
|
267
261
|
- test/syntax/ruby/test_2.2.0.rb
|
262
|
+
- test/syntax/ruby/test_1.9.3.rb
|
268
263
|
- test/syntax/ruby/test_all.rb
|
269
|
-
- test/syntax/ruby/test_files.rb
|
270
|
-
- test/syntax/test_all.rb
|
271
|
-
- test/syntax/test_syntax.rb
|
272
264
|
- test/test_all.rb
|
273
|
-
- test/
|
274
|
-
- test/
|
265
|
+
- test/scanner/test_sets.rb
|
266
|
+
- test/scanner/test_properties.rb
|
267
|
+
- test/scanner/test_scripts.rb
|
268
|
+
- test/scanner/test_emojis.rb
|
269
|
+
- test/scanner/test_types.rb
|
270
|
+
- test/scanner/test_groups.rb
|
271
|
+
- test/scanner/test_meta.rb
|
272
|
+
- test/scanner/test_free_space.rb
|
273
|
+
- test/scanner/test_anchors.rb
|
274
|
+
- test/scanner/test_escapes.rb
|
275
|
+
- test/scanner/test_unicode_blocks.rb
|
276
|
+
- test/scanner/test_quantifiers.rb
|
277
|
+
- test/scanner/test_keep.rb
|
278
|
+
- test/scanner/test_conditionals.rb
|
279
|
+
- test/scanner/test_errors.rb
|
280
|
+
- test/scanner/test_refcalls.rb
|
281
|
+
- test/scanner/test_literals.rb
|
282
|
+
- test/scanner/test_all.rb
|