pub fn get_scriptures<S: Into<String> + Clone>(
string: S,
) -> Result<ScriptureCollection, BibleError>Expand description
Returns a vector of the scriptures found in the string passed in.
ยงExample
use est;
let text: &str = "A popular scripture is John 3:16, it is quoted often.";
let expected:Vec<String> = vec!["John 3:16".to_string()];
assert_eq!(expected, est::get_scriptures(text).unwrap());