[−][src]Crate bible_reference_rs
Bible reference parser
Created by Grigory Avdyushin avdyushin.g@gmail.com on 17/10/2018. Copyright © 2018 Grigory Avdyushin. All rights reserved.
#Examples
let refs = bible_reference_rs::parse("Gen 1:1-3, Act 9"); assert_eq!(refs.len(), 2); assert_eq!(refs[0].book, "Gen"); assert_eq!(refs[0].locations[0].chapters, [1]); assert_eq!(refs[0].locations[0].verses, Some(vec![1, 2, 3]));
Structs
BibleReference | Verse reference representation |
VerseLocation | Verse location representation |
Functions
parse | Parses string into references |