sportdb-parser 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/lib/sportdb/parser/token.rb +4 -2
- data/lib/sportdb/parser/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1dd9f29584bb09508c0fb6ad253a84ff299c7f33650d27195abbc679c1e893f
|
4
|
+
data.tar.gz: 6af07bc6f008e1b6c53cd796253f66bd68f2f28299a750896be83176bae7d085
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8adae46063426008e23f01ef3d625a3477c01a827b942edadddfad7e774e8689de3545c1c6ae8e32d0fa43b2bfbf5c9dc9962947c97be79ab325a41a7896c48
|
7
|
+
data.tar.gz: e0b843c9b2eee0ebfec203889ed5ea90f94eb22f80ca0df58d8865f05dd08f4d4bc3547b59f0fbe00e323a09df9c13289954ddea34bf437cad6d196c29a2e436
|
data/CHANGELOG.md
CHANGED
data/lib/sportdb/parser/token.rb
CHANGED
@@ -132,14 +132,16 @@ RE = Regexp.union( PROP_KEY_RE, ## start with prop key (match will/should swit
|
|
132
132
|
TIME_RE,
|
133
133
|
DURATION_RE, # note - duration MUST match before date
|
134
134
|
DATE_RE,
|
135
|
-
WDAY_RE, # allow standalone weekday name (e.g. Mo/Tu/etc.) - why? why not?
|
136
135
|
SCORE_MORE_RE,
|
137
136
|
SCORE_RE, ## note basic score e.g. 1-1 must go after SCORE_MORE_RE!!!
|
138
137
|
BASICS_RE,
|
139
138
|
MINUTE_RE,
|
140
139
|
MINUTE_NA_RE, ## note - add/allow not/available (n/a,na) minutes hack for now
|
141
140
|
GOAL_OG_RE, GOAL_PEN_RE,
|
142
|
-
TEXT_RE
|
141
|
+
TEXT_RE,
|
142
|
+
WDAY_RE, # allow standalone weekday name (e.g. Mo/Tu/etc.) - why? why not?
|
143
|
+
# note - wday MUST be after text e.g. Sun Ke 68' is Sun Ke (NOT Sun) etc.
|
144
|
+
)
|
143
145
|
|
144
146
|
|
145
147
|
end # class Lexer
|