reference_parser library
Parse strings to find bible references in them
var ref = parseReference("Ps 24:2");
Classes
- BibleReference
- Base class for all reference objects.
- Chapter
- A reference to a single chapter in the bible.
- Reference
- A general BibleReference, can contain all ReferenceTypes.
- Verse
- A bible reference that contains the book, chapter, and a single verse number.
Enums
- ReferenceType
- The kind of reference a BibleReference is.
Functions
-
parseAllReferences(
String stringReference, {List< String> excludeList = const ['Is', 'is', 'Song', 'song', 'Am', 'am', 'songs', 'act', 'acts', 'mark']}) → List<Reference> - Finds all the references within a string. Returns an empty list when no references are found.
-
parsePlace(
String stringReference) → List< String> - Finds all the places within a string. Returns an empty list when no places are found.
-
parseReference(
String stringReference) → Reference - Finds the first reference from within a string.
-
parseReferencesAndReplaceString(
String stringReference, {List< String> excludeList = const ['Is', 'is', 'Song', 'song', 'Am', 'am', 'songs', 'act', 'acts', 'mark']}) → String