sportdb-parser 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4ad809654d751437839e7f7bbda6502fb2c4b517c279988c7a3756059eaa9d8
4
- data.tar.gz: 6dbacfa44774d32bfaccdb209a195f2f6c6c9ded43280023ffafbe1a3288d310
3
+ metadata.gz: 810f7cacd444fa67848438b267081211851a2ab8ff8e2da633bdf9c885bf102b
4
+ data.tar.gz: f15d3dc28d68c4d12737ace20fbc0f1110f1b0b864a96cf33950c6cb6b946a87
5
5
  SHA512:
6
- metadata.gz: 52b60ab7ef460d46007bd135fc0a00d09514b72335941c2d46f06793abc6631f7e2dce2fafefbf83360c672a05d212cf88f56ed3a6b78e803d5e5d76c0dcb38b
7
- data.tar.gz: 4e861cefafce9bca2fe9135ae7fdf35a2cdd0d2080fa3f4f2fb900fa0f075752da8647dcb2c6c9e16e99210c4198a63e7202ae3e32cd1b0f049126aac7f3d412
6
+ metadata.gz: 7ccc2618cfb5400f869a18cb6fcbb5f1f7323515e439983c5ac65fe3c9fbd6a9bb53b501e3196cca01f00db921e1f08153854167d78fa0509da4cd2e99d7445a
7
+ data.tar.gz: 92395315b0e90b501584b48dfbd1dea206c35e8cf91dae3d2a2357e6d18f8948e5fd5ee3b855c77dd5c201205e0592451cb149487b17315bc58733aa304e8897
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 0.5.3
1
+ ### 0.5.4
2
2
  ### 0.0.1 / 2024-07-12
3
3
 
4
4
  * Everything is new. First release.
@@ -9,107 +9,103 @@ class RaccMatchParser < Racc::Parser
9
9
  ##### State transition tables begin ###
10
10
 
11
11
  racc_action_table = [
12
- 103, 54, 60, 120, 28, 58, 35, 92, 23, 128,
13
- 80, 60, 81, 60, 43, 121, 41, 39, 38, 52,
14
- 55, 61, 62, 65, 65, 31, 55, 12, 127, 30,
15
- 61, 28, 61, 62, 40, 16, 12, 50, 30, 13,
16
- 28, 25, 14, 15, 16, 21, 23, 54, 13, 37,
17
- 25, 14, 15, 43, 21, 23, 72, 74, 75, 76,
18
- 36, 44, 47, 46, 68, 52, 55, 85, 86, 105,
19
- 106, 118, 119, 129, 130, 137, 130, 56, 66, 70,
20
- 71, 83, 87, 88, 65, 89, 91, 94, 96, 99,
21
- 40, 100, 101, 43, 108, 43, 110, 35, 112, 113,
22
- 80, 65, 122, 123, 124, 99, 126, 132, 65, 43,
23
- 43, 35, 135, 65, 138, 99, 140, 141 ]
12
+ 102, 94, 60, 119, 28, 35, 37, 129, 43, 57,
13
+ 38, 39, 22, 60, 43, 120, 41, 36, 49, 68,
14
+ 55, 61, 62, 65, 65, 31, 128, 12, 40, 30,
15
+ 58, 28, 61, 62, 66, 16, 12, 70, 30, 13,
16
+ 28, 25, 14, 15, 16, 20, 22, 80, 13, 81,
17
+ 25, 14, 15, 71, 20, 22, 54, 51, 54, 91,
18
+ 72, 74, 75, 76, 44, 47, 46, 85, 86, 104,
19
+ 105, 117, 118, 83, 52, 55, 52, 55, 125, 126,
20
+ 134, 126, 87, 88, 65, 89, 49, 96, 98, 40,
21
+ 99, 100, 43, 107, 43, 109, 35, 111, 112, 80,
22
+ 65, 121, 122, 123, 49, 127, 65, 43, 43, 35,
23
+ 132, 65, 49, 136, 137 ]
24
24
 
25
25
  racc_action_check = [
26
- 63, 19, 25, 82, 16, 21, 12, 52, 21, 95,
27
- 35, 99, 35, 50, 16, 82, 16, 15, 14, 19,
28
- 19, 25, 25, 63, 25, 1, 52, 1, 95, 1,
29
- 99, 1, 50, 50, 15, 1, 0, 18, 0, 1,
30
- 0, 1, 1, 1, 0, 1, 1, 48, 0, 13,
31
- 0, 0, 0, 27, 0, 0, 33, 33, 33, 33,
32
- 13, 17, 17, 17, 27, 48, 48, 38, 38, 65,
33
- 65, 81, 81, 97, 97, 125, 125, 20, 26, 28,
34
- 31, 36, 41, 42, 43, 45, 49, 53, 55, 56,
35
- 58, 59, 62, 67, 68, 70, 72, 73, 75, 76,
36
- 78, 80, 84, 87, 88, 91, 93, 100, 103, 107,
37
- 109, 115, 116, 117, 128, 130, 131, 134 ]
26
+ 63, 52, 25, 82, 16, 12, 13, 97, 27, 20,
27
+ 14, 15, 20, 49, 16, 82, 16, 13, 18, 27,
28
+ 52, 25, 25, 63, 25, 1, 97, 1, 15, 1,
29
+ 24, 1, 49, 49, 26, 1, 0, 28, 0, 1,
30
+ 0, 1, 1, 1, 0, 1, 1, 35, 0, 35,
31
+ 0, 0, 0, 31, 0, 0, 19, 19, 48, 48,
32
+ 33, 33, 33, 33, 17, 17, 17, 38, 38, 65,
33
+ 65, 81, 81, 36, 19, 19, 48, 48, 92, 92,
34
+ 124, 124, 41, 42, 43, 45, 51, 53, 55, 57,
35
+ 59, 62, 67, 68, 70, 72, 73, 75, 76, 78,
36
+ 80, 84, 87, 88, 91, 95, 102, 106, 108, 114,
37
+ 115, 116, 126, 129, 131 ]
38
38
 
39
39
  racc_action_pointer = [
40
40
  34, 25, nil, nil, nil, nil, nil, nil, nil, nil,
41
- nil, nil, -1, 45, 3, 13, -2, 57, 21, -3,
42
- 72, -13, nil, nil, nil, -4, 74, 37, 52, nil,
43
- nil, 80, nil, 53, nil, 2, 65, nil, 49, nil,
44
- nil, 71, 72, 56, nil, 68, nil, nil, 43, 81,
45
- 7, nil, 3, 83, nil, 72, 73, nil, 69, 75,
46
- nil, nil, 76, -5, nil, 40, nil, 77, 90, nil,
47
- 79, nil, 92, 90, nil, 94, 95, nil, 92, nil,
48
- 73, 59, -1, nil, 98, nil, nil, 99, 100, nil,
49
- nil, 89, nil, 102, nil, 4, nil, 69, nil, 5,
50
- 81, nil, nil, 80, nil, nil, nil, 93, nil, 94,
51
- nil, nil, nil, nil, nil, 104, 101, 85, nil, nil,
52
- nil, nil, nil, nil, nil, 71, nil, nil, 98, nil,
53
- 99, 100, nil, nil, 108, nil, nil, nil, nil, nil,
54
- nil, nil ]
41
+ nil, nil, -2, 2, -5, 7, -2, 60, 2, 52,
42
+ -9, nil, nil, nil, 4, -4, 30, -8, 10, nil,
43
+ nil, 53, nil, 57, nil, 39, 57, nil, 49, nil,
44
+ nil, 71, 72, 56, nil, 68, nil, nil, 54, 7,
45
+ nil, 70, -3, 83, nil, 72, nil, 68, nil, 74,
46
+ nil, nil, 75, -5, nil, 40, nil, 76, 89, nil,
47
+ 78, nil, 91, 89, nil, 93, 94, nil, 91, nil,
48
+ 72, 59, -1, nil, 97, nil, nil, 98, 99, nil,
49
+ nil, 88, 74, nil, nil, 101, nil, 2, nil, nil,
50
+ nil, nil, 78, nil, nil, nil, 91, nil, 92, nil,
51
+ nil, nil, nil, nil, 102, 99, 83, nil, nil, nil,
52
+ nil, nil, nil, nil, 76, nil, 96, nil, nil, 97,
53
+ nil, 105, nil, nil, nil, nil, nil, nil ]
55
54
 
56
55
  racc_action_default = [
57
56
  -90, -90, -1, -3, -4, -5, -6, -7, -8, -9,
58
57
  -10, -11, -90, -90, -41, -54, -90, -90, -90, -90,
59
- -66, -51, -53, -56, -65, -90, -90, -74, -90, -79,
58
+ -51, -53, -56, -65, -66, -90, -90, -74, -90, -79,
60
59
  -89, -90, -2, -90, -13, -20, -90, -39, -90, -37,
61
- -55, -90, -90, -90, -40, -90, -43, -44, -90, -66,
62
- -90, -46, -90, -90, -60, -90, -90, -52, -54, -90,
60
+ -55, -90, -90, -90, -40, -90, -43, -44, -90, -90,
61
+ -46, -90, -90, -90, -60, -90, -52, -54, -71, -90,
63
62
  -68, -69, -90, -81, -82, -85, -73, -90, -77, -80,
64
- -90, 142, -90, -90, -15, -16, -18, -21, -22, -24,
63
+ -90, 138, -90, -90, -15, -16, -18, -21, -22, -24,
65
64
  -90, -90, -90, -32, -90, -35, -36, -90, -90, -42,
66
- -45, -90, -57, -90, -59, -61, -63, -90, -49, -90,
67
- -67, -70, -83, -90, -86, -87, -88, -76, -78, -75,
68
- -12, -14, -17, -19, -23, -90, -90, -27, -29, -30,
69
- -31, -33, -34, -38, -72, -90, -58, -62, -90, -48,
70
- -90, -90, -71, -84, -90, -26, -28, -47, -64, -50,
71
- -67, -25 ]
65
+ -45, -90, -90, -49, -57, -90, -59, -61, -63, -67,
66
+ -70, -83, -90, -86, -87, -88, -76, -78, -75, -12,
67
+ -14, -17, -19, -23, -90, -90, -27, -29, -30, -31,
68
+ -33, -34, -38, -72, -90, -48, -90, -58, -62, -90,
69
+ -84, -90, -26, -28, -47, -50, -64, -25 ]
72
70
 
73
71
  racc_goto_table = [
74
- 49, 34, 69, 102, 79, 97, 51, 107, 2, 32,
75
- 109, 1, 33, 73, 77, 78, 116, 117, 82, 84,
76
- 115, 45, 48, 57, 93, 95, 131, 42, 67, 104,
77
- nil, nil, nil, nil, nil, 90, nil, nil, 98, nil,
78
- 125, nil, nil, 133, nil, nil, nil, 114, nil, nil,
79
- nil, nil, nil, nil, nil, nil, nil, 136, nil, nil,
80
- nil, nil, 111, nil, nil, nil, nil, nil, nil, nil,
81
- nil, nil, nil, 98, nil, nil, nil, nil, nil, nil,
82
- nil, nil, 69, nil, 69, nil, nil, nil, nil, nil,
72
+ 48, 34, 69, 101, 79, 92, 50, 106, 2, 32,
73
+ 108, 1, 33, 73, 77, 78, 115, 116, 82, 84,
74
+ 114, 45, 56, 95, 97, 42, 67, 103, nil, nil,
75
+ nil, nil, nil, 93, nil, 90, nil, nil, nil, nil,
76
+ nil, nil, 130, nil, nil, 124, nil, 113, nil, nil,
77
+ nil, nil, nil, nil, nil, nil, 133, nil, nil, nil,
78
+ nil, nil, 110, nil, nil, nil, nil, nil, nil, nil,
79
+ nil, nil, nil, 93, nil, nil, nil, nil, nil, nil,
80
+ nil, 69, nil, 69, nil, nil, nil, nil, nil, nil,
83
81
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
84
- nil, nil, nil, nil, 134, nil, nil, nil, nil, nil,
85
- nil, nil, 139 ]
82
+ nil, nil, nil, 131, nil, nil, nil, nil, 135 ]
86
83
 
87
84
  racc_goto_check = [
88
- 28, 13, 38, 18, 17, 29, 27, 36, 2, 2,
85
+ 26, 13, 38, 18, 17, 28, 27, 36, 2, 2,
89
86
  36, 1, 12, 14, 15, 16, 19, 20, 21, 22,
90
- 18, 24, 26, 30, 31, 32, 34, 35, 37, 40,
91
- nil, nil, nil, nil, nil, 27, nil, nil, 28, nil,
92
- 29, nil, nil, 18, nil, nil, nil, 17, nil, nil,
93
- nil, nil, nil, nil, nil, nil, nil, 18, nil, nil,
87
+ 18, 24, 29, 30, 31, 35, 37, 40, nil, nil,
88
+ nil, nil, nil, 26, nil, 27, nil, nil, nil, nil,
89
+ nil, nil, 18, nil, nil, 28, nil, 17, nil, nil,
90
+ nil, nil, nil, nil, nil, nil, 18, nil, nil, nil,
94
91
  nil, nil, 13, nil, nil, nil, nil, nil, nil, nil,
95
- nil, nil, nil, 28, nil, nil, nil, nil, nil, nil,
96
- nil, nil, 38, nil, 38, nil, nil, nil, nil, nil,
92
+ nil, nil, nil, 26, nil, nil, nil, nil, nil, nil,
93
+ nil, 38, nil, 38, nil, nil, nil, nil, nil, nil,
97
94
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
98
- nil, nil, nil, nil, 13, nil, nil, nil, nil, nil,
99
- nil, nil, 28 ]
95
+ nil, nil, nil, 13, nil, nil, nil, nil, 26 ]
100
96
 
101
97
  racc_goto_pointer = [
102
98
  nil, 11, 8, nil, nil, nil, nil, nil, nil, nil,
103
99
  nil, nil, 0, -11, -20, -21, -20, -31, -60, -65,
104
- -64, -18, -19, nil, 4, nil, 4, -13, -18, -51,
105
- 2, -28, -30, nil, -73, 11, -60, 1, -25, nil,
106
- -36 ]
100
+ -64, -18, -19, nil, 4, nil, -18, -13, -46, 2,
101
+ -29, -31, nil, nil, nil, 9, -60, -1, -25, nil,
102
+ -38 ]
107
103
 
108
104
  racc_goto_default = [
109
105
  nil, nil, nil, 3, 4, 5, 6, 7, 8, 9,
110
106
  10, 11, nil, nil, nil, nil, nil, nil, 64, nil,
111
- nil, nil, nil, 17, nil, 18, 19, nil, 20, nil,
112
- 22, 53, nil, 24, 59, 26, 27, nil, 29, 63,
107
+ nil, nil, nil, 17, nil, 18, 19, nil, nil, 21,
108
+ 53, nil, 23, 24, 59, 26, 27, nil, 29, 63,
113
109
  nil ]
114
110
 
115
111
  racc_reduce_table = [
@@ -162,29 +158,29 @@ racc_reduce_table = [
162
158
  2, 39, :_reduce_46,
163
159
  5, 39, :_reduce_47,
164
160
  4, 39, :_reduce_48,
165
- 1, 60, :_reduce_49,
166
- 3, 60, :_reduce_50,
161
+ 1, 59, :_reduce_49,
162
+ 3, 59, :_reduce_50,
167
163
  1, 56, :_reduce_51,
168
164
  2, 56, :_reduce_52,
169
165
  1, 56, :_reduce_none,
170
- 1, 61, :_reduce_54,
171
- 2, 61, :_reduce_55,
172
- 1, 61, :_reduce_56,
166
+ 1, 60, :_reduce_54,
167
+ 2, 60, :_reduce_55,
168
+ 1, 60, :_reduce_56,
173
169
  2, 58, :_reduce_57,
174
170
  3, 58, :_reduce_58,
175
171
  2, 58, :_reduce_59,
176
172
  1, 58, :_reduce_60,
177
- 2, 62, :_reduce_61,
178
- 3, 62, :_reduce_62,
179
- 1, 63, :_reduce_63,
180
- 3, 63, :_reduce_64,
173
+ 2, 61, :_reduce_61,
174
+ 3, 61, :_reduce_62,
175
+ 1, 62, :_reduce_63,
176
+ 3, 62, :_reduce_64,
181
177
  1, 57, :_reduce_none,
182
178
  1, 57, :_reduce_none,
183
- 3, 59, :_reduce_67,
179
+ 3, 64, :_reduce_67,
184
180
  1, 65, :_reduce_none,
185
181
  1, 65, :_reduce_none,
186
- 3, 64, :_reduce_70,
187
- 4, 64, :_reduce_71,
182
+ 3, 63, :_reduce_70,
183
+ 2, 63, :_reduce_71,
188
184
  4, 40, :_reduce_72,
189
185
  2, 40, :_reduce_73,
190
186
  1, 66, :_reduce_74,
@@ -206,7 +202,7 @@ racc_reduce_table = [
206
202
 
207
203
  racc_reduce_n = 90
208
204
 
209
- racc_shift_n = 142
205
+ racc_shift_n = 138
210
206
 
211
207
  racc_token_table = {
212
208
  false => 0,
@@ -322,12 +318,12 @@ Racc_token_to_s_table = [
322
318
  "match_opts",
323
319
  "match",
324
320
  "more_match_opts",
325
- "match_fixture",
326
- "more_match_fixtures",
321
+ "more_matches",
327
322
  "date_opts",
328
323
  "geo_opts",
329
324
  "geo_values",
330
325
  "match_result",
326
+ "match_fixture",
331
327
  "match_sep",
332
328
  "goal_lines_body",
333
329
  "goals",
@@ -761,7 +757,7 @@ module_eval(<<'.,.,', 'parser.y', 256)
761
757
 
762
758
  module_eval(<<'.,.,', 'parser.y', 264)
763
759
  def _reduce_67(val, _values, result)
764
- puts " match MATCH_FIXTURE"
760
+ puts " RECUDE match_fixture"
765
761
  result = { team1: val[0],
766
762
  team2: val[2] }
767
763
 
@@ -775,29 +771,26 @@ module_eval(<<'.,.,', 'parser.y', 264)
775
771
 
776
772
  module_eval(<<'.,.,', 'parser.y', 275)
777
773
  def _reduce_70(val, _values, result)
778
- puts " match TEXT SCORE TEXT"
779
- result = { team1: val[0],
780
- team2: val[2],
781
- score: val[1][1]
782
- }
774
+ puts " REDUCE => match_result : TEXT SCORE TEXT"
775
+ result = { team1: val[0],
776
+ team2: val[2],
777
+ score: val[1][1]
778
+ }
783
779
 
784
780
  result
785
781
  end
786
782
  .,.,
787
783
 
788
- module_eval(<<'.,.,', 'parser.y', 289)
784
+ module_eval(<<'.,.,', 'parser.y', 283)
789
785
  def _reduce_71(val, _values, result)
790
- puts " match TEXT match_sep TEXT SCORE"
791
- result = { team1: val[0],
792
- team2: val[2],
793
- score: val[3][1]
794
- }
786
+ puts " REDUCE => match_result : match_fixture SCORE"
787
+ result = { score: val[1][1] }.merge( val[0] )
795
788
 
796
789
  result
797
790
  end
798
791
  .,.,
799
792
 
800
- module_eval(<<'.,.,', 'parser.y', 311)
793
+ module_eval(<<'.,.,', 'parser.y', 302)
801
794
  def _reduce_72(val, _values, result)
802
795
  kwargs = val[1]
803
796
  @tree << GoalLine.new( **kwargs )
@@ -806,7 +799,7 @@ module_eval(<<'.,.,', 'parser.y', 311)
806
799
  end
807
800
  .,.,
808
801
 
809
- module_eval(<<'.,.,', 'parser.y', 316)
802
+ module_eval(<<'.,.,', 'parser.y', 307)
810
803
  def _reduce_73(val, _values, result)
811
804
  kwargs = val[0]
812
805
  @tree << GoalLine.new( **kwargs )
@@ -815,7 +808,7 @@ module_eval(<<'.,.,', 'parser.y', 316)
815
808
  end
816
809
  .,.,
817
810
 
818
- module_eval(<<'.,.,', 'parser.y', 321)
811
+ module_eval(<<'.,.,', 'parser.y', 312)
819
812
  def _reduce_74(val, _values, result)
820
813
  result = { goals1: val[0],
821
814
  goals2: [] }
@@ -824,7 +817,7 @@ module_eval(<<'.,.,', 'parser.y', 321)
824
817
  end
825
818
  .,.,
826
819
 
827
- module_eval(<<'.,.,', 'parser.y', 324)
820
+ module_eval(<<'.,.,', 'parser.y', 315)
828
821
  def _reduce_75(val, _values, result)
829
822
  result = { goals1: [],
830
823
  goals2: val[2] }
@@ -833,7 +826,7 @@ module_eval(<<'.,.,', 'parser.y', 324)
833
826
  end
834
827
  .,.,
835
828
 
836
- module_eval(<<'.,.,', 'parser.y', 327)
829
+ module_eval(<<'.,.,', 'parser.y', 318)
837
830
  def _reduce_76(val, _values, result)
838
831
  result = { goals1: val[0],
839
832
  goals2: val[2] }
@@ -846,51 +839,51 @@ module_eval(<<'.,.,', 'parser.y', 327)
846
839
 
847
840
  # reduce 78 omitted
848
841
 
849
- module_eval(<<'.,.,', 'parser.y', 341)
842
+ module_eval(<<'.,.,', 'parser.y', 332)
850
843
  def _reduce_79(val, _values, result)
851
844
  result = val
852
845
  result
853
846
  end
854
847
  .,.,
855
848
 
856
- module_eval(<<'.,.,', 'parser.y', 342)
849
+ module_eval(<<'.,.,', 'parser.y', 333)
857
850
  def _reduce_80(val, _values, result)
858
851
  result.push( val[1])
859
852
  result
860
853
  end
861
854
  .,.,
862
855
 
863
- module_eval(<<'.,.,', 'parser.y', 347)
856
+ module_eval(<<'.,.,', 'parser.y', 349)
864
857
  def _reduce_81(val, _values, result)
865
- result = Goal.new( player: val[0],
866
- minutes: val[1] )
858
+ result = Goal.new( player: val[0],
859
+ minutes: val[1] )
867
860
 
868
861
  result
869
862
  end
870
863
  .,.,
871
864
 
872
- module_eval(<<'.,.,', 'parser.y', 354)
865
+ module_eval(<<'.,.,', 'parser.y', 361)
873
866
  def _reduce_82(val, _values, result)
874
867
  result = val
875
868
  result
876
869
  end
877
870
  .,.,
878
871
 
879
- module_eval(<<'.,.,', 'parser.y', 355)
872
+ module_eval(<<'.,.,', 'parser.y', 362)
880
873
  def _reduce_83(val, _values, result)
881
874
  result.push( val[1])
882
875
  result
883
876
  end
884
877
  .,.,
885
878
 
886
- module_eval(<<'.,.,', 'parser.y', 356)
879
+ module_eval(<<'.,.,', 'parser.y', 363)
887
880
  def _reduce_84(val, _values, result)
888
881
  result.push( val[2])
889
882
  result
890
883
  end
891
884
  .,.,
892
885
 
893
- module_eval(<<'.,.,', 'parser.y', 362)
886
+ module_eval(<<'.,.,', 'parser.y', 369)
894
887
  def _reduce_85(val, _values, result)
895
888
  kwargs = {}.merge( val[0][1] )
896
889
  result = Minute.new( **kwargs )
@@ -899,7 +892,7 @@ module_eval(<<'.,.,', 'parser.y', 362)
899
892
  end
900
893
  .,.,
901
894
 
902
- module_eval(<<'.,.,', 'parser.y', 367)
895
+ module_eval(<<'.,.,', 'parser.y', 374)
903
896
  def _reduce_86(val, _values, result)
904
897
  kwargs = { }.merge( val[0][1] ).merge( val[1] )
905
898
  result = Minute.new( **kwargs )
@@ -908,21 +901,21 @@ module_eval(<<'.,.,', 'parser.y', 367)
908
901
  end
909
902
  .,.,
910
903
 
911
- module_eval(<<'.,.,', 'parser.y', 371)
904
+ module_eval(<<'.,.,', 'parser.y', 378)
912
905
  def _reduce_87(val, _values, result)
913
906
  result = { og: true }
914
907
  result
915
908
  end
916
909
  .,.,
917
910
 
918
- module_eval(<<'.,.,', 'parser.y', 372)
911
+ module_eval(<<'.,.,', 'parser.y', 379)
919
912
  def _reduce_88(val, _values, result)
920
913
  result = { pen: true }
921
914
  result
922
915
  end
923
916
  .,.,
924
917
 
925
- module_eval(<<'.,.,', 'parser.y', 377)
918
+ module_eval(<<'.,.,', 'parser.y', 384)
926
919
  def _reduce_89(val, _values, result)
927
920
  puts ' MATCH empty_line'
928
921
  result
@@ -25,7 +25,7 @@ class Parser
25
25
  )? # note: make penalty (P) score optional for now
26
26
  (?<et1>\d{1,2}) - (?<et2>\d{1,2})
27
27
  [ ]* #{ET_EN}
28
- (?=[ \]]|$)
28
+ (?=[ ,\]]|$)
29
29
  )}ix
30
30
  ## todo/check: remove loakahead assertion here - why require space?
31
31
  ## note: \b works only after non-alphanum e.g. )
@@ -38,7 +38,7 @@ class Parser
38
38
  \b
39
39
  (?<p1>\d{1,2}) - (?<p2>\d{1,2})
40
40
  [ ]* #{P_EN}
41
- (?=[ \]]|$)
41
+ (?=[ ,\]]|$)
42
42
  )}ix
43
43
  ## todo/check: remove loakahead assertion here - why require space?
44
44
  ## note: \b works only after non-alphanum e.g. )
@@ -71,7 +71,7 @@ class Parser
71
71
  )?
72
72
  )? # note: make half time (HT) score optional for now
73
73
  \)
74
- (?=[ \]]|$)
74
+ (?=[ ,\]]|$)
75
75
  )}ix ## todo/check: remove loakahead assertion here - why require space?
76
76
  ## note: \b works only after non-alphanum e.g. )
77
77
 
@@ -94,7 +94,7 @@ class Parser
94
94
  )?
95
95
  )? # note: make half time (HT) score optional for now
96
96
  \)
97
- (?=[ \]]|$)
97
+ (?=[ ,\]]|$)
98
98
  )}ix ## todo/check: remove loakahead assertion here - why require space?
99
99
  ## note: \b works only after non-alphanum e.g. )
100
100
 
@@ -112,7 +112,7 @@ class Parser
112
112
  (?<ht1>\d{1,2}) - (?<ht2>\d{1,2})
113
113
  [ ]* \)
114
114
  )? # note: make half time (HT) score optional for now
115
- (?=[ \]]|$)
115
+ (?=[ ,\]]|$)
116
116
  )}ix ## todo/check: remove loakahead assertion here - why require space?
117
117
  ## note: \b works only after non-alphanum e.g. )
118
118
 
@@ -4,7 +4,7 @@ module SportDb
4
4
  module Parser
5
5
  MAJOR = 0 ## todo: namespace inside version or something - why? why not??
6
6
  MINOR = 5
7
- PATCH = 3
7
+ PATCH = 4
8
8
  VERSION = [MAJOR,MINOR,PATCH].join('.')
9
9
 
10
10
  def self.version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sportdb-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer