scripref 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog +6 -0
- data/LICENSE +1 -1
- data/Rakefile +4 -0
- data/lib/scripref/basic_methods.rb +32 -0
- data/lib/scripref/bookname.rb +30 -0
- data/lib/scripref/english.rb +14 -7
- data/lib/scripref/formatter.rb +14 -5
- data/lib/scripref/german.rb +14 -11
- data/lib/scripref/include.rb +4 -0
- data/lib/scripref/parser.rb +19 -39
- data/lib/scripref/passage.rb +8 -0
- data/lib/scripref/processor.rb +24 -3
- data/lib/scripref.rb +9 -7
- data/regtest/parser.yml +6 -6
- data/regtest/processor.rb +25 -0
- data/regtest/processor.yml +1012 -0
- data/test/test_bookname.rb +20 -0
- data/test/test_english.rb +6 -4
- data/test/test_formatter.rb +20 -10
- data/test/test_german.rb +6 -4
- data/test/test_helper.rb +4 -31
- data/test/test_integration.rb +4 -10
- data/test/test_parser.rb +37 -5
- data/test/test_passage.rb +21 -8
- data/test/test_pipelining.rb +1 -3
- data/test/test_processor.rb +80 -6
- metadata +11 -5
@@ -0,0 +1,1012 @@
|
|
1
|
+
---
|
2
|
+
sample: Ruth 2,1a-11.15a; 3,7b.9-12b; Markus 4; 5,3a.18b-21a
|
3
|
+
result:
|
4
|
+
- - !ruby/struct:Scripref::Passage
|
5
|
+
text: Ruth 2,1a-11
|
6
|
+
b1: 8
|
7
|
+
c1: 2
|
8
|
+
v1: 1
|
9
|
+
b2: 8
|
10
|
+
c2: 2
|
11
|
+
v2: 11
|
12
|
+
a1: :a
|
13
|
+
a2:
|
14
|
+
- !ruby/marshalable:Scripref::VerseSep
|
15
|
+
:__v2__: []
|
16
|
+
[]: "."
|
17
|
+
- !ruby/struct:Scripref::Passage
|
18
|
+
text: 15a
|
19
|
+
b1: 8
|
20
|
+
c1: 2
|
21
|
+
v1: 15
|
22
|
+
b2: 8
|
23
|
+
c2: 2
|
24
|
+
v2: 15
|
25
|
+
a1: :a
|
26
|
+
a2:
|
27
|
+
- !ruby/marshalable:Scripref::PassSep
|
28
|
+
:__v2__: []
|
29
|
+
[]: "; "
|
30
|
+
- !ruby/struct:Scripref::Passage
|
31
|
+
text: 3,7b
|
32
|
+
b1: 8
|
33
|
+
c1: 3
|
34
|
+
v1: 7
|
35
|
+
b2: 8
|
36
|
+
c2: 3
|
37
|
+
v2: 7
|
38
|
+
a1: :b
|
39
|
+
a2:
|
40
|
+
- !ruby/marshalable:Scripref::VerseSep
|
41
|
+
:__v2__: []
|
42
|
+
[]: "."
|
43
|
+
- !ruby/struct:Scripref::Passage
|
44
|
+
text: 9-12b
|
45
|
+
b1: 8
|
46
|
+
c1: 3
|
47
|
+
v1: 9
|
48
|
+
b2: 8
|
49
|
+
c2: 3
|
50
|
+
v2: 12
|
51
|
+
a1:
|
52
|
+
a2: :b
|
53
|
+
- !ruby/marshalable:Scripref::PassSep
|
54
|
+
:__v2__: []
|
55
|
+
[]: "; "
|
56
|
+
- !ruby/struct:Scripref::Passage
|
57
|
+
text: Markus 4
|
58
|
+
b1: 41
|
59
|
+
c1: 4
|
60
|
+
v1:
|
61
|
+
b2: 41
|
62
|
+
c2: 4
|
63
|
+
v2:
|
64
|
+
a1:
|
65
|
+
a2:
|
66
|
+
- !ruby/marshalable:Scripref::PassSep
|
67
|
+
:__v2__: []
|
68
|
+
[]: "; "
|
69
|
+
- !ruby/struct:Scripref::Passage
|
70
|
+
text: 5,3a
|
71
|
+
b1: 41
|
72
|
+
c1: 5
|
73
|
+
v1: 3
|
74
|
+
b2: 41
|
75
|
+
c2: 5
|
76
|
+
v2: 3
|
77
|
+
a1: :a
|
78
|
+
a2:
|
79
|
+
- !ruby/marshalable:Scripref::VerseSep
|
80
|
+
:__v2__: []
|
81
|
+
[]: "."
|
82
|
+
- !ruby/struct:Scripref::Passage
|
83
|
+
text: 18b-21a
|
84
|
+
b1: 41
|
85
|
+
c1: 5
|
86
|
+
v1: 18
|
87
|
+
b2: 41
|
88
|
+
c2: 5
|
89
|
+
v2: 21
|
90
|
+
a1: :b
|
91
|
+
a2: :a
|
92
|
+
---
|
93
|
+
sample: " 2,1a-11.15a; 3,7b.9-12b; Markus 4; 5,3a.18b-21a"
|
94
|
+
result:
|
95
|
+
- " 2,1a-11.15a; 3,7b.9-12b; "
|
96
|
+
- - !ruby/struct:Scripref::Passage
|
97
|
+
text: Markus 4
|
98
|
+
b1: 41
|
99
|
+
c1: 4
|
100
|
+
v1:
|
101
|
+
b2: 41
|
102
|
+
c2: 4
|
103
|
+
v2:
|
104
|
+
a1:
|
105
|
+
a2:
|
106
|
+
- !ruby/marshalable:Scripref::PassSep
|
107
|
+
:__v2__: []
|
108
|
+
[]: "; "
|
109
|
+
- !ruby/struct:Scripref::Passage
|
110
|
+
text: 5,3a
|
111
|
+
b1: 41
|
112
|
+
c1: 5
|
113
|
+
v1: 3
|
114
|
+
b2: 41
|
115
|
+
c2: 5
|
116
|
+
v2: 3
|
117
|
+
a1: :a
|
118
|
+
a2:
|
119
|
+
- !ruby/marshalable:Scripref::VerseSep
|
120
|
+
:__v2__: []
|
121
|
+
[]: "."
|
122
|
+
- !ruby/struct:Scripref::Passage
|
123
|
+
text: 18b-21a
|
124
|
+
b1: 41
|
125
|
+
c1: 5
|
126
|
+
v1: 18
|
127
|
+
b2: 41
|
128
|
+
c2: 5
|
129
|
+
v2: 21
|
130
|
+
a1: :b
|
131
|
+
a2: :a
|
132
|
+
---
|
133
|
+
sample: Ruth ,1a-11.15a; 3,7b.9-12b; Markus 4; 5,3a.18b-21a
|
134
|
+
result:
|
135
|
+
- 'Ruth ,1a-11.15a; 3,7b.9-12b; '
|
136
|
+
- - !ruby/struct:Scripref::Passage
|
137
|
+
text: Markus 4
|
138
|
+
b1: 41
|
139
|
+
c1: 4
|
140
|
+
v1:
|
141
|
+
b2: 41
|
142
|
+
c2: 4
|
143
|
+
v2:
|
144
|
+
a1:
|
145
|
+
a2:
|
146
|
+
- !ruby/marshalable:Scripref::PassSep
|
147
|
+
:__v2__: []
|
148
|
+
[]: "; "
|
149
|
+
- !ruby/struct:Scripref::Passage
|
150
|
+
text: 5,3a
|
151
|
+
b1: 41
|
152
|
+
c1: 5
|
153
|
+
v1: 3
|
154
|
+
b2: 41
|
155
|
+
c2: 5
|
156
|
+
v2: 3
|
157
|
+
a1: :a
|
158
|
+
a2:
|
159
|
+
- !ruby/marshalable:Scripref::VerseSep
|
160
|
+
:__v2__: []
|
161
|
+
[]: "."
|
162
|
+
- !ruby/struct:Scripref::Passage
|
163
|
+
text: 18b-21a
|
164
|
+
b1: 41
|
165
|
+
c1: 5
|
166
|
+
v1: 18
|
167
|
+
b2: 41
|
168
|
+
c2: 5
|
169
|
+
v2: 21
|
170
|
+
a1: :b
|
171
|
+
a2: :a
|
172
|
+
---
|
173
|
+
sample: Ruth 21a-11.15a; 3,7b.9-12b; Markus 4; 5,3a.18b-21a
|
174
|
+
exception: |-
|
175
|
+
EOS or chapter verse separator or hyphen and book or hyphen and chapter or passage separator and book or passage separator and chapter expected!
|
176
|
+
Ruth 21a-11.15a; 3,7b.9-12b; Markus 4; 5,3a.18b-21a
|
177
|
+
^
|
178
|
+
---
|
179
|
+
sample: Ruth 2,-11.15a; 3,7b.9-12b; Markus 4; 5,3a.18b-21a
|
180
|
+
exception: |-
|
181
|
+
Verse expected!
|
182
|
+
Ruth 2,-11.15a; 3,7b.9-12b; Markus 4; 5,3a.18b-21a
|
183
|
+
^
|
184
|
+
---
|
185
|
+
sample: Ruth 2,1a11.15a; 3,7b.9-12b; Markus 4; 5,3a.18b-21a
|
186
|
+
result:
|
187
|
+
- - !ruby/struct:Scripref::Passage
|
188
|
+
text: Ruth 2,1
|
189
|
+
b1: 8
|
190
|
+
c1: 2
|
191
|
+
v1: 1
|
192
|
+
b2: 8
|
193
|
+
c2: 2
|
194
|
+
v2: 1
|
195
|
+
a1:
|
196
|
+
a2:
|
197
|
+
- 'a11.15a; 3,7b.9-12b; '
|
198
|
+
- - !ruby/struct:Scripref::Passage
|
199
|
+
text: Markus 4
|
200
|
+
b1: 41
|
201
|
+
c1: 4
|
202
|
+
v1:
|
203
|
+
b2: 41
|
204
|
+
c2: 4
|
205
|
+
v2:
|
206
|
+
a1:
|
207
|
+
a2:
|
208
|
+
- !ruby/marshalable:Scripref::PassSep
|
209
|
+
:__v2__: []
|
210
|
+
[]: "; "
|
211
|
+
- !ruby/struct:Scripref::Passage
|
212
|
+
text: 5,3a
|
213
|
+
b1: 41
|
214
|
+
c1: 5
|
215
|
+
v1: 3
|
216
|
+
b2: 41
|
217
|
+
c2: 5
|
218
|
+
v2: 3
|
219
|
+
a1: :a
|
220
|
+
a2:
|
221
|
+
- !ruby/marshalable:Scripref::VerseSep
|
222
|
+
:__v2__: []
|
223
|
+
[]: "."
|
224
|
+
- !ruby/struct:Scripref::Passage
|
225
|
+
text: 18b-21a
|
226
|
+
b1: 41
|
227
|
+
c1: 5
|
228
|
+
v1: 18
|
229
|
+
b2: 41
|
230
|
+
c2: 5
|
231
|
+
v2: 21
|
232
|
+
a1: :b
|
233
|
+
a2: :a
|
234
|
+
---
|
235
|
+
sample: Ruth 2,1a-.15a; 3,7b.9-12b; Markus 4; 5,3a.18b-21a
|
236
|
+
exception: |-
|
237
|
+
Chapter or verse expected!
|
238
|
+
Ruth 2,1a-.15a; 3,7b.9-12b; Markus 4; 5,3a.18b-21a
|
239
|
+
^
|
240
|
+
---
|
241
|
+
sample: Ruth 2,1a-1115a; 3,7b.9-12b; Markus 4; 5,3a.18b-21a
|
242
|
+
result:
|
243
|
+
- - !ruby/struct:Scripref::Passage
|
244
|
+
text: Ruth 2,1a-1115a
|
245
|
+
b1: 8
|
246
|
+
c1: 2
|
247
|
+
v1: 1
|
248
|
+
b2: 8
|
249
|
+
c2: 2
|
250
|
+
v2: 1115
|
251
|
+
a1: :a
|
252
|
+
a2: :a
|
253
|
+
- !ruby/marshalable:Scripref::PassSep
|
254
|
+
:__v2__: []
|
255
|
+
[]: "; "
|
256
|
+
- !ruby/struct:Scripref::Passage
|
257
|
+
text: 3,7b
|
258
|
+
b1: 8
|
259
|
+
c1: 3
|
260
|
+
v1: 7
|
261
|
+
b2: 8
|
262
|
+
c2: 3
|
263
|
+
v2: 7
|
264
|
+
a1: :b
|
265
|
+
a2:
|
266
|
+
- !ruby/marshalable:Scripref::VerseSep
|
267
|
+
:__v2__: []
|
268
|
+
[]: "."
|
269
|
+
- !ruby/struct:Scripref::Passage
|
270
|
+
text: 9-12b
|
271
|
+
b1: 8
|
272
|
+
c1: 3
|
273
|
+
v1: 9
|
274
|
+
b2: 8
|
275
|
+
c2: 3
|
276
|
+
v2: 12
|
277
|
+
a1:
|
278
|
+
a2: :b
|
279
|
+
- !ruby/marshalable:Scripref::PassSep
|
280
|
+
:__v2__: []
|
281
|
+
[]: "; "
|
282
|
+
- !ruby/struct:Scripref::Passage
|
283
|
+
text: Markus 4
|
284
|
+
b1: 41
|
285
|
+
c1: 4
|
286
|
+
v1:
|
287
|
+
b2: 41
|
288
|
+
c2: 4
|
289
|
+
v2:
|
290
|
+
a1:
|
291
|
+
a2:
|
292
|
+
- !ruby/marshalable:Scripref::PassSep
|
293
|
+
:__v2__: []
|
294
|
+
[]: "; "
|
295
|
+
- !ruby/struct:Scripref::Passage
|
296
|
+
text: 5,3a
|
297
|
+
b1: 41
|
298
|
+
c1: 5
|
299
|
+
v1: 3
|
300
|
+
b2: 41
|
301
|
+
c2: 5
|
302
|
+
v2: 3
|
303
|
+
a1: :a
|
304
|
+
a2:
|
305
|
+
- !ruby/marshalable:Scripref::VerseSep
|
306
|
+
:__v2__: []
|
307
|
+
[]: "."
|
308
|
+
- !ruby/struct:Scripref::Passage
|
309
|
+
text: 18b-21a
|
310
|
+
b1: 41
|
311
|
+
c1: 5
|
312
|
+
v1: 18
|
313
|
+
b2: 41
|
314
|
+
c2: 5
|
315
|
+
v2: 21
|
316
|
+
a1: :b
|
317
|
+
a2: :a
|
318
|
+
---
|
319
|
+
sample: Ruth 2,1a-11.; 3,7b.9-12b; Markus 4; 5,3a.18b-21a
|
320
|
+
exception: |-
|
321
|
+
Verse expected!
|
322
|
+
Ruth 2,1a-11.; 3,7b.9-12b; Markus 4; 5,3a.18b-21a
|
323
|
+
^
|
324
|
+
---
|
325
|
+
sample: Ruth 2,1a-11.15a3,7b.9-12b; Markus 4; 5,3a.18b-21a
|
326
|
+
result:
|
327
|
+
- - !ruby/struct:Scripref::Passage
|
328
|
+
text: Ruth 2,1a-11
|
329
|
+
b1: 8
|
330
|
+
c1: 2
|
331
|
+
v1: 1
|
332
|
+
b2: 8
|
333
|
+
c2: 2
|
334
|
+
v2: 11
|
335
|
+
a1: :a
|
336
|
+
a2:
|
337
|
+
- !ruby/marshalable:Scripref::VerseSep
|
338
|
+
:__v2__: []
|
339
|
+
[]: "."
|
340
|
+
- !ruby/struct:Scripref::Passage
|
341
|
+
text: '15'
|
342
|
+
b1: 8
|
343
|
+
c1: 2
|
344
|
+
v1: 15
|
345
|
+
b2: 8
|
346
|
+
c2: 2
|
347
|
+
v2: 15
|
348
|
+
a1:
|
349
|
+
a2:
|
350
|
+
- 'a3,7b.9-12b; '
|
351
|
+
- - !ruby/struct:Scripref::Passage
|
352
|
+
text: Markus 4
|
353
|
+
b1: 41
|
354
|
+
c1: 4
|
355
|
+
v1:
|
356
|
+
b2: 41
|
357
|
+
c2: 4
|
358
|
+
v2:
|
359
|
+
a1:
|
360
|
+
a2:
|
361
|
+
- !ruby/marshalable:Scripref::PassSep
|
362
|
+
:__v2__: []
|
363
|
+
[]: "; "
|
364
|
+
- !ruby/struct:Scripref::Passage
|
365
|
+
text: 5,3a
|
366
|
+
b1: 41
|
367
|
+
c1: 5
|
368
|
+
v1: 3
|
369
|
+
b2: 41
|
370
|
+
c2: 5
|
371
|
+
v2: 3
|
372
|
+
a1: :a
|
373
|
+
a2:
|
374
|
+
- !ruby/marshalable:Scripref::VerseSep
|
375
|
+
:__v2__: []
|
376
|
+
[]: "."
|
377
|
+
- !ruby/struct:Scripref::Passage
|
378
|
+
text: 18b-21a
|
379
|
+
b1: 41
|
380
|
+
c1: 5
|
381
|
+
v1: 18
|
382
|
+
b2: 41
|
383
|
+
c2: 5
|
384
|
+
v2: 21
|
385
|
+
a1: :b
|
386
|
+
a2: :a
|
387
|
+
---
|
388
|
+
sample: Ruth 2,1a-11.15a; ,7b.9-12b; Markus 4; 5,3a.18b-21a
|
389
|
+
exception: |-
|
390
|
+
Book or chapter expected!
|
391
|
+
Ruth 2,1a-11.15a; ,7b.9-12b; Markus 4; 5,3a.18b-21a
|
392
|
+
^
|
393
|
+
---
|
394
|
+
sample: Ruth 2,1a-11.15a; 37b.9-12b; Markus 4; 5,3a.18b-21a
|
395
|
+
exception: |-
|
396
|
+
EOS or chapter verse separator or hyphen and book or hyphen and chapter or passage separator and book or passage separator and chapter expected!
|
397
|
+
Ruth 2,1a-11.15a; 37b.9-12b; Markus 4; 5,3a.18b-21a
|
398
|
+
^
|
399
|
+
---
|
400
|
+
sample: Ruth 2,1a-11.15a; 3,.9-12b; Markus 4; 5,3a.18b-21a
|
401
|
+
exception: |-
|
402
|
+
Verse expected!
|
403
|
+
Ruth 2,1a-11.15a; 3,.9-12b; Markus 4; 5,3a.18b-21a
|
404
|
+
^
|
405
|
+
---
|
406
|
+
sample: Ruth 2,1a-11.15a; 3,7b9-12b; Markus 4; 5,3a.18b-21a
|
407
|
+
result:
|
408
|
+
- - !ruby/struct:Scripref::Passage
|
409
|
+
text: Ruth 2,1a-11
|
410
|
+
b1: 8
|
411
|
+
c1: 2
|
412
|
+
v1: 1
|
413
|
+
b2: 8
|
414
|
+
c2: 2
|
415
|
+
v2: 11
|
416
|
+
a1: :a
|
417
|
+
a2:
|
418
|
+
- !ruby/marshalable:Scripref::VerseSep
|
419
|
+
:__v2__: []
|
420
|
+
[]: "."
|
421
|
+
- !ruby/struct:Scripref::Passage
|
422
|
+
text: 15a
|
423
|
+
b1: 8
|
424
|
+
c1: 2
|
425
|
+
v1: 15
|
426
|
+
b2: 8
|
427
|
+
c2: 2
|
428
|
+
v2: 15
|
429
|
+
a1: :a
|
430
|
+
a2:
|
431
|
+
- !ruby/marshalable:Scripref::PassSep
|
432
|
+
:__v2__: []
|
433
|
+
[]: "; "
|
434
|
+
- !ruby/struct:Scripref::Passage
|
435
|
+
text: '3,7'
|
436
|
+
b1: 8
|
437
|
+
c1: 3
|
438
|
+
v1: 7
|
439
|
+
b2: 8
|
440
|
+
c2: 3
|
441
|
+
v2: 7
|
442
|
+
a1:
|
443
|
+
a2:
|
444
|
+
- 'b9-12b; '
|
445
|
+
- - !ruby/struct:Scripref::Passage
|
446
|
+
text: Markus 4
|
447
|
+
b1: 41
|
448
|
+
c1: 4
|
449
|
+
v1:
|
450
|
+
b2: 41
|
451
|
+
c2: 4
|
452
|
+
v2:
|
453
|
+
a1:
|
454
|
+
a2:
|
455
|
+
- !ruby/marshalable:Scripref::PassSep
|
456
|
+
:__v2__: []
|
457
|
+
[]: "; "
|
458
|
+
- !ruby/struct:Scripref::Passage
|
459
|
+
text: 5,3a
|
460
|
+
b1: 41
|
461
|
+
c1: 5
|
462
|
+
v1: 3
|
463
|
+
b2: 41
|
464
|
+
c2: 5
|
465
|
+
v2: 3
|
466
|
+
a1: :a
|
467
|
+
a2:
|
468
|
+
- !ruby/marshalable:Scripref::VerseSep
|
469
|
+
:__v2__: []
|
470
|
+
[]: "."
|
471
|
+
- !ruby/struct:Scripref::Passage
|
472
|
+
text: 18b-21a
|
473
|
+
b1: 41
|
474
|
+
c1: 5
|
475
|
+
v1: 18
|
476
|
+
b2: 41
|
477
|
+
c2: 5
|
478
|
+
v2: 21
|
479
|
+
a1: :b
|
480
|
+
a2: :a
|
481
|
+
---
|
482
|
+
sample: Ruth 2,1a-11.15a; 3,7b.-12b; Markus 4; 5,3a.18b-21a
|
483
|
+
exception: |-
|
484
|
+
Verse expected!
|
485
|
+
Ruth 2,1a-11.15a; 3,7b.-12b; Markus 4; 5,3a.18b-21a
|
486
|
+
^
|
487
|
+
---
|
488
|
+
sample: Ruth 2,1a-11.15a; 3,7b.912b; Markus 4; 5,3a.18b-21a
|
489
|
+
result:
|
490
|
+
- - !ruby/struct:Scripref::Passage
|
491
|
+
text: Ruth 2,1a-11
|
492
|
+
b1: 8
|
493
|
+
c1: 2
|
494
|
+
v1: 1
|
495
|
+
b2: 8
|
496
|
+
c2: 2
|
497
|
+
v2: 11
|
498
|
+
a1: :a
|
499
|
+
a2:
|
500
|
+
- !ruby/marshalable:Scripref::VerseSep
|
501
|
+
:__v2__: []
|
502
|
+
[]: "."
|
503
|
+
- !ruby/struct:Scripref::Passage
|
504
|
+
text: 15a
|
505
|
+
b1: 8
|
506
|
+
c1: 2
|
507
|
+
v1: 15
|
508
|
+
b2: 8
|
509
|
+
c2: 2
|
510
|
+
v2: 15
|
511
|
+
a1: :a
|
512
|
+
a2:
|
513
|
+
- !ruby/marshalable:Scripref::PassSep
|
514
|
+
:__v2__: []
|
515
|
+
[]: "; "
|
516
|
+
- !ruby/struct:Scripref::Passage
|
517
|
+
text: 3,7b
|
518
|
+
b1: 8
|
519
|
+
c1: 3
|
520
|
+
v1: 7
|
521
|
+
b2: 8
|
522
|
+
c2: 3
|
523
|
+
v2: 7
|
524
|
+
a1: :b
|
525
|
+
a2:
|
526
|
+
- !ruby/marshalable:Scripref::VerseSep
|
527
|
+
:__v2__: []
|
528
|
+
[]: "."
|
529
|
+
- !ruby/struct:Scripref::Passage
|
530
|
+
text: 912b
|
531
|
+
b1: 8
|
532
|
+
c1: 3
|
533
|
+
v1: 912
|
534
|
+
b2: 8
|
535
|
+
c2: 3
|
536
|
+
v2: 912
|
537
|
+
a1: :b
|
538
|
+
a2:
|
539
|
+
- !ruby/marshalable:Scripref::PassSep
|
540
|
+
:__v2__: []
|
541
|
+
[]: "; "
|
542
|
+
- !ruby/struct:Scripref::Passage
|
543
|
+
text: Markus 4
|
544
|
+
b1: 41
|
545
|
+
c1: 4
|
546
|
+
v1:
|
547
|
+
b2: 41
|
548
|
+
c2: 4
|
549
|
+
v2:
|
550
|
+
a1:
|
551
|
+
a2:
|
552
|
+
- !ruby/marshalable:Scripref::PassSep
|
553
|
+
:__v2__: []
|
554
|
+
[]: "; "
|
555
|
+
- !ruby/struct:Scripref::Passage
|
556
|
+
text: 5,3a
|
557
|
+
b1: 41
|
558
|
+
c1: 5
|
559
|
+
v1: 3
|
560
|
+
b2: 41
|
561
|
+
c2: 5
|
562
|
+
v2: 3
|
563
|
+
a1: :a
|
564
|
+
a2:
|
565
|
+
- !ruby/marshalable:Scripref::VerseSep
|
566
|
+
:__v2__: []
|
567
|
+
[]: "."
|
568
|
+
- !ruby/struct:Scripref::Passage
|
569
|
+
text: 18b-21a
|
570
|
+
b1: 41
|
571
|
+
c1: 5
|
572
|
+
v1: 18
|
573
|
+
b2: 41
|
574
|
+
c2: 5
|
575
|
+
v2: 21
|
576
|
+
a1: :b
|
577
|
+
a2: :a
|
578
|
+
---
|
579
|
+
sample: Ruth 2,1a-11.15a; 3,7b.9-; Markus 4; 5,3a.18b-21a
|
580
|
+
exception: |-
|
581
|
+
Chapter or verse expected!
|
582
|
+
Ruth 2,1a-11.15a; 3,7b.9-; Markus 4; 5,3a.18b-21a
|
583
|
+
^
|
584
|
+
---
|
585
|
+
sample: Ruth 2,1a-11.15a; 3,7b.9-12bMarkus 4; 5,3a.18b-21a
|
586
|
+
result:
|
587
|
+
- - !ruby/struct:Scripref::Passage
|
588
|
+
text: Ruth 2,1a-11
|
589
|
+
b1: 8
|
590
|
+
c1: 2
|
591
|
+
v1: 1
|
592
|
+
b2: 8
|
593
|
+
c2: 2
|
594
|
+
v2: 11
|
595
|
+
a1: :a
|
596
|
+
a2:
|
597
|
+
- !ruby/marshalable:Scripref::VerseSep
|
598
|
+
:__v2__: []
|
599
|
+
[]: "."
|
600
|
+
- !ruby/struct:Scripref::Passage
|
601
|
+
text: 15a
|
602
|
+
b1: 8
|
603
|
+
c1: 2
|
604
|
+
v1: 15
|
605
|
+
b2: 8
|
606
|
+
c2: 2
|
607
|
+
v2: 15
|
608
|
+
a1: :a
|
609
|
+
a2:
|
610
|
+
- !ruby/marshalable:Scripref::PassSep
|
611
|
+
:__v2__: []
|
612
|
+
[]: "; "
|
613
|
+
- !ruby/struct:Scripref::Passage
|
614
|
+
text: 3,7b
|
615
|
+
b1: 8
|
616
|
+
c1: 3
|
617
|
+
v1: 7
|
618
|
+
b2: 8
|
619
|
+
c2: 3
|
620
|
+
v2: 7
|
621
|
+
a1: :b
|
622
|
+
a2:
|
623
|
+
- !ruby/marshalable:Scripref::VerseSep
|
624
|
+
:__v2__: []
|
625
|
+
[]: "."
|
626
|
+
- !ruby/struct:Scripref::Passage
|
627
|
+
text: 9-12
|
628
|
+
b1: 8
|
629
|
+
c1: 3
|
630
|
+
v1: 9
|
631
|
+
b2: 8
|
632
|
+
c2: 3
|
633
|
+
v2: 12
|
634
|
+
a1:
|
635
|
+
a2:
|
636
|
+
- bMarkus 4; 5,3a.18b-21a
|
637
|
+
---
|
638
|
+
sample: Ruth 2,1a-11.15a; 3,7b.9-12b; 4; 5,3a.18b-21a
|
639
|
+
result:
|
640
|
+
- - !ruby/struct:Scripref::Passage
|
641
|
+
text: Ruth 2,1a-11
|
642
|
+
b1: 8
|
643
|
+
c1: 2
|
644
|
+
v1: 1
|
645
|
+
b2: 8
|
646
|
+
c2: 2
|
647
|
+
v2: 11
|
648
|
+
a1: :a
|
649
|
+
a2:
|
650
|
+
- !ruby/marshalable:Scripref::VerseSep
|
651
|
+
:__v2__: []
|
652
|
+
[]: "."
|
653
|
+
- !ruby/struct:Scripref::Passage
|
654
|
+
text: 15a
|
655
|
+
b1: 8
|
656
|
+
c1: 2
|
657
|
+
v1: 15
|
658
|
+
b2: 8
|
659
|
+
c2: 2
|
660
|
+
v2: 15
|
661
|
+
a1: :a
|
662
|
+
a2:
|
663
|
+
- !ruby/marshalable:Scripref::PassSep
|
664
|
+
:__v2__: []
|
665
|
+
[]: "; "
|
666
|
+
- !ruby/struct:Scripref::Passage
|
667
|
+
text: 3,7b
|
668
|
+
b1: 8
|
669
|
+
c1: 3
|
670
|
+
v1: 7
|
671
|
+
b2: 8
|
672
|
+
c2: 3
|
673
|
+
v2: 7
|
674
|
+
a1: :b
|
675
|
+
a2:
|
676
|
+
- !ruby/marshalable:Scripref::VerseSep
|
677
|
+
:__v2__: []
|
678
|
+
[]: "."
|
679
|
+
- !ruby/struct:Scripref::Passage
|
680
|
+
text: 9-12b
|
681
|
+
b1: 8
|
682
|
+
c1: 3
|
683
|
+
v1: 9
|
684
|
+
b2: 8
|
685
|
+
c2: 3
|
686
|
+
v2: 12
|
687
|
+
a1:
|
688
|
+
a2: :b
|
689
|
+
- !ruby/marshalable:Scripref::PassSep
|
690
|
+
:__v2__: []
|
691
|
+
[]: "; "
|
692
|
+
- !ruby/struct:Scripref::Passage
|
693
|
+
text: '4'
|
694
|
+
b1: 8
|
695
|
+
c1: 4
|
696
|
+
v1:
|
697
|
+
b2: 8
|
698
|
+
c2: 4
|
699
|
+
v2:
|
700
|
+
a1:
|
701
|
+
a2:
|
702
|
+
- !ruby/marshalable:Scripref::PassSep
|
703
|
+
:__v2__: []
|
704
|
+
[]: "; "
|
705
|
+
- !ruby/struct:Scripref::Passage
|
706
|
+
text: 5,3a
|
707
|
+
b1: 8
|
708
|
+
c1: 5
|
709
|
+
v1: 3
|
710
|
+
b2: 8
|
711
|
+
c2: 5
|
712
|
+
v2: 3
|
713
|
+
a1: :a
|
714
|
+
a2:
|
715
|
+
- !ruby/marshalable:Scripref::VerseSep
|
716
|
+
:__v2__: []
|
717
|
+
[]: "."
|
718
|
+
- !ruby/struct:Scripref::Passage
|
719
|
+
text: 18b-21a
|
720
|
+
b1: 8
|
721
|
+
c1: 5
|
722
|
+
v1: 18
|
723
|
+
b2: 8
|
724
|
+
c2: 5
|
725
|
+
v2: 21
|
726
|
+
a1: :b
|
727
|
+
a2: :a
|
728
|
+
---
|
729
|
+
sample: Ruth 2,1a-11.15a; 3,7b.9-12b; Markus ; 5,3a.18b-21a
|
730
|
+
exception: |-
|
731
|
+
EOS or book expected!
|
732
|
+
Ruth 2,1a-11.15a; 3,7b.9-12b; Markus ; 5,3a.18b-21a
|
733
|
+
^
|
734
|
+
---
|
735
|
+
sample: Ruth 2,1a-11.15a; 3,7b.9-12b; Markus 45,3a.18b-21a
|
736
|
+
result:
|
737
|
+
- - !ruby/struct:Scripref::Passage
|
738
|
+
text: Ruth 2,1a-11
|
739
|
+
b1: 8
|
740
|
+
c1: 2
|
741
|
+
v1: 1
|
742
|
+
b2: 8
|
743
|
+
c2: 2
|
744
|
+
v2: 11
|
745
|
+
a1: :a
|
746
|
+
a2:
|
747
|
+
- !ruby/marshalable:Scripref::VerseSep
|
748
|
+
:__v2__: []
|
749
|
+
[]: "."
|
750
|
+
- !ruby/struct:Scripref::Passage
|
751
|
+
text: 15a
|
752
|
+
b1: 8
|
753
|
+
c1: 2
|
754
|
+
v1: 15
|
755
|
+
b2: 8
|
756
|
+
c2: 2
|
757
|
+
v2: 15
|
758
|
+
a1: :a
|
759
|
+
a2:
|
760
|
+
- !ruby/marshalable:Scripref::PassSep
|
761
|
+
:__v2__: []
|
762
|
+
[]: "; "
|
763
|
+
- !ruby/struct:Scripref::Passage
|
764
|
+
text: 3,7b
|
765
|
+
b1: 8
|
766
|
+
c1: 3
|
767
|
+
v1: 7
|
768
|
+
b2: 8
|
769
|
+
c2: 3
|
770
|
+
v2: 7
|
771
|
+
a1: :b
|
772
|
+
a2:
|
773
|
+
- !ruby/marshalable:Scripref::VerseSep
|
774
|
+
:__v2__: []
|
775
|
+
[]: "."
|
776
|
+
- !ruby/struct:Scripref::Passage
|
777
|
+
text: 9-12b
|
778
|
+
b1: 8
|
779
|
+
c1: 3
|
780
|
+
v1: 9
|
781
|
+
b2: 8
|
782
|
+
c2: 3
|
783
|
+
v2: 12
|
784
|
+
a1:
|
785
|
+
a2: :b
|
786
|
+
- !ruby/marshalable:Scripref::PassSep
|
787
|
+
:__v2__: []
|
788
|
+
[]: "; "
|
789
|
+
- !ruby/struct:Scripref::Passage
|
790
|
+
text: Markus 45,3a
|
791
|
+
b1: 41
|
792
|
+
c1: 45
|
793
|
+
v1: 3
|
794
|
+
b2: 41
|
795
|
+
c2: 45
|
796
|
+
v2: 3
|
797
|
+
a1: :a
|
798
|
+
a2:
|
799
|
+
- !ruby/marshalable:Scripref::VerseSep
|
800
|
+
:__v2__: []
|
801
|
+
[]: "."
|
802
|
+
- !ruby/struct:Scripref::Passage
|
803
|
+
text: 18b-21a
|
804
|
+
b1: 41
|
805
|
+
c1: 45
|
806
|
+
v1: 18
|
807
|
+
b2: 41
|
808
|
+
c2: 45
|
809
|
+
v2: 21
|
810
|
+
a1: :b
|
811
|
+
a2: :a
|
812
|
+
---
|
813
|
+
sample: Ruth 2,1a-11.15a; 3,7b.9-12b; Markus 4; ,3a.18b-21a
|
814
|
+
exception: |-
|
815
|
+
Book or chapter expected!
|
816
|
+
Ruth 2,1a-11.15a; 3,7b.9-12b; Markus 4; ,3a.18b-21a
|
817
|
+
^
|
818
|
+
---
|
819
|
+
sample: Ruth 2,1a-11.15a; 3,7b.9-12b; Markus 4; 53a.18b-21a
|
820
|
+
exception: |-
|
821
|
+
EOS or chapter verse separator or hyphen and book or hyphen and chapter or passage separator and book or passage separator and chapter expected!
|
822
|
+
Ruth 2,1a-11.15a; 3,7b.9-12b; Markus 4; 53a.18b-21a
|
823
|
+
^
|
824
|
+
---
|
825
|
+
sample: Ruth 2,1a-11.15a; 3,7b.9-12b; Markus 4; 5,.18b-21a
|
826
|
+
exception: |-
|
827
|
+
Verse expected!
|
828
|
+
Ruth 2,1a-11.15a; 3,7b.9-12b; Markus 4; 5,.18b-21a
|
829
|
+
^
|
830
|
+
---
|
831
|
+
sample: Ruth 2,1a-11.15a; 3,7b.9-12b; Markus 4; 5,3a18b-21a
|
832
|
+
result:
|
833
|
+
- - !ruby/struct:Scripref::Passage
|
834
|
+
text: Ruth 2,1a-11
|
835
|
+
b1: 8
|
836
|
+
c1: 2
|
837
|
+
v1: 1
|
838
|
+
b2: 8
|
839
|
+
c2: 2
|
840
|
+
v2: 11
|
841
|
+
a1: :a
|
842
|
+
a2:
|
843
|
+
- !ruby/marshalable:Scripref::VerseSep
|
844
|
+
:__v2__: []
|
845
|
+
[]: "."
|
846
|
+
- !ruby/struct:Scripref::Passage
|
847
|
+
text: 15a
|
848
|
+
b1: 8
|
849
|
+
c1: 2
|
850
|
+
v1: 15
|
851
|
+
b2: 8
|
852
|
+
c2: 2
|
853
|
+
v2: 15
|
854
|
+
a1: :a
|
855
|
+
a2:
|
856
|
+
- !ruby/marshalable:Scripref::PassSep
|
857
|
+
:__v2__: []
|
858
|
+
[]: "; "
|
859
|
+
- !ruby/struct:Scripref::Passage
|
860
|
+
text: 3,7b
|
861
|
+
b1: 8
|
862
|
+
c1: 3
|
863
|
+
v1: 7
|
864
|
+
b2: 8
|
865
|
+
c2: 3
|
866
|
+
v2: 7
|
867
|
+
a1: :b
|
868
|
+
a2:
|
869
|
+
- !ruby/marshalable:Scripref::VerseSep
|
870
|
+
:__v2__: []
|
871
|
+
[]: "."
|
872
|
+
- !ruby/struct:Scripref::Passage
|
873
|
+
text: 9-12b
|
874
|
+
b1: 8
|
875
|
+
c1: 3
|
876
|
+
v1: 9
|
877
|
+
b2: 8
|
878
|
+
c2: 3
|
879
|
+
v2: 12
|
880
|
+
a1:
|
881
|
+
a2: :b
|
882
|
+
- !ruby/marshalable:Scripref::PassSep
|
883
|
+
:__v2__: []
|
884
|
+
[]: "; "
|
885
|
+
- !ruby/struct:Scripref::Passage
|
886
|
+
text: Markus 4
|
887
|
+
b1: 41
|
888
|
+
c1: 4
|
889
|
+
v1:
|
890
|
+
b2: 41
|
891
|
+
c2: 4
|
892
|
+
v2:
|
893
|
+
a1:
|
894
|
+
a2:
|
895
|
+
- !ruby/marshalable:Scripref::PassSep
|
896
|
+
:__v2__: []
|
897
|
+
[]: "; "
|
898
|
+
- !ruby/struct:Scripref::Passage
|
899
|
+
text: '5,3'
|
900
|
+
b1: 41
|
901
|
+
c1: 5
|
902
|
+
v1: 3
|
903
|
+
b2: 41
|
904
|
+
c2: 5
|
905
|
+
v2: 3
|
906
|
+
a1:
|
907
|
+
a2:
|
908
|
+
- a18b-21a
|
909
|
+
---
|
910
|
+
sample: Ruth 2,1a-11.15a; 3,7b.9-12b; Markus 4; 5,3a.-21a
|
911
|
+
exception: |-
|
912
|
+
Verse expected!
|
913
|
+
Ruth 2,1a-11.15a; 3,7b.9-12b; Markus 4; 5,3a.-21a
|
914
|
+
^
|
915
|
+
---
|
916
|
+
sample: Ruth 2,1a-11.15a; 3,7b.9-12b; Markus 4; 5,3a.18b21a
|
917
|
+
result:
|
918
|
+
- - !ruby/struct:Scripref::Passage
|
919
|
+
text: Ruth 2,1a-11
|
920
|
+
b1: 8
|
921
|
+
c1: 2
|
922
|
+
v1: 1
|
923
|
+
b2: 8
|
924
|
+
c2: 2
|
925
|
+
v2: 11
|
926
|
+
a1: :a
|
927
|
+
a2:
|
928
|
+
- !ruby/marshalable:Scripref::VerseSep
|
929
|
+
:__v2__: []
|
930
|
+
[]: "."
|
931
|
+
- !ruby/struct:Scripref::Passage
|
932
|
+
text: 15a
|
933
|
+
b1: 8
|
934
|
+
c1: 2
|
935
|
+
v1: 15
|
936
|
+
b2: 8
|
937
|
+
c2: 2
|
938
|
+
v2: 15
|
939
|
+
a1: :a
|
940
|
+
a2:
|
941
|
+
- !ruby/marshalable:Scripref::PassSep
|
942
|
+
:__v2__: []
|
943
|
+
[]: "; "
|
944
|
+
- !ruby/struct:Scripref::Passage
|
945
|
+
text: 3,7b
|
946
|
+
b1: 8
|
947
|
+
c1: 3
|
948
|
+
v1: 7
|
949
|
+
b2: 8
|
950
|
+
c2: 3
|
951
|
+
v2: 7
|
952
|
+
a1: :b
|
953
|
+
a2:
|
954
|
+
- !ruby/marshalable:Scripref::VerseSep
|
955
|
+
:__v2__: []
|
956
|
+
[]: "."
|
957
|
+
- !ruby/struct:Scripref::Passage
|
958
|
+
text: 9-12b
|
959
|
+
b1: 8
|
960
|
+
c1: 3
|
961
|
+
v1: 9
|
962
|
+
b2: 8
|
963
|
+
c2: 3
|
964
|
+
v2: 12
|
965
|
+
a1:
|
966
|
+
a2: :b
|
967
|
+
- !ruby/marshalable:Scripref::PassSep
|
968
|
+
:__v2__: []
|
969
|
+
[]: "; "
|
970
|
+
- !ruby/struct:Scripref::Passage
|
971
|
+
text: Markus 4
|
972
|
+
b1: 41
|
973
|
+
c1: 4
|
974
|
+
v1:
|
975
|
+
b2: 41
|
976
|
+
c2: 4
|
977
|
+
v2:
|
978
|
+
a1:
|
979
|
+
a2:
|
980
|
+
- !ruby/marshalable:Scripref::PassSep
|
981
|
+
:__v2__: []
|
982
|
+
[]: "; "
|
983
|
+
- !ruby/struct:Scripref::Passage
|
984
|
+
text: 5,3a
|
985
|
+
b1: 41
|
986
|
+
c1: 5
|
987
|
+
v1: 3
|
988
|
+
b2: 41
|
989
|
+
c2: 5
|
990
|
+
v2: 3
|
991
|
+
a1: :a
|
992
|
+
a2:
|
993
|
+
- !ruby/marshalable:Scripref::VerseSep
|
994
|
+
:__v2__: []
|
995
|
+
[]: "."
|
996
|
+
- !ruby/struct:Scripref::Passage
|
997
|
+
text: '18'
|
998
|
+
b1: 41
|
999
|
+
c1: 5
|
1000
|
+
v1: 18
|
1001
|
+
b2: 41
|
1002
|
+
c2: 5
|
1003
|
+
v2: 18
|
1004
|
+
a1:
|
1005
|
+
a2:
|
1006
|
+
- b21a
|
1007
|
+
---
|
1008
|
+
sample: Ruth 2,1a-11.15a; 3,7b.9-12b; Markus 4; 5,3a.18b-
|
1009
|
+
exception: |-
|
1010
|
+
Chapter or verse expected!
|
1011
|
+
Ruth 2,1a-11.15a; 3,7b.9-12b; Markus 4; 5,3a.18b-
|
1012
|
+
^
|