reference_parser 1.0.0 reference_parser: ^1.0.0 copied to clipboard
A pub package that allows you to parse strings for bible references. Can parse varying formats of references and multiple references at a time.
1.0.0 #
- Massive improvements to regex!
- Now possible to parse texts from anywhere within a string. For example, 'I like Matthew 2:4.
- Paratexts can be parsed(for example 'Mat', 'JAM', 'exo').
- Parsing multiple texts from within a string possible with [parseAllReferences]
- BibleReference class added as a base for Reference and Verse.
- Added Verse, Reference, and BibleReference to export.
- Added getters for osis, paratext abbreviation, and short bible books.
- BibleReferences toString return the reference string.
- Documentation added to functions and classes.
- Chapters that are not specified initialize [BibleReference.chapter] to null.
- Refactored Verse.verseType to [Verse.referenceType] .
- Renamed Librarian.findBook to [Librarian.findBookNumber].
- [BibleReference.book] initializes to the full book name.
- Static typing in BibleReference object constructors
0.7.5 #
- endVerseNumber and endVerse determine last verse if passed value is null
- [start/end]VerseNumber fields initialize based on passed parameters
- [start/end]Verse initialize based on passed parameters
0.7.0 #
- Created ReferenceType enum
- Changed the integer fields [start/end]Verse to [start/end]VerseNumber
- Added Verse object [start/end]Verse fields to Reference objects
- Added ReferenceType field to Reference and Verse object fields
- Added validation and bookNumber to the Verse object
0.5.0 #
- Initial version, basic reference parsing and creation.