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<Reference>
Finds all the references within a string. Returns an empty list when no references are found.
parseReference(String stringReference) Reference
Finds the first reference from within a string.