reference_parser 1.3.1 copy "reference_parser: ^1.3.1" to clipboard
reference_parser: ^1.3.1 copied to clipboard

outdated

A package that allows you to parse strings for bible references or match them to their bible verses. Can parse varying formats of references and multiple references at a time.

1.3.1 #

  • linting for static analysis

1.3.0 #

  • Cross chapter verse ranges can be parsed
  • fixes references not being categorized as CHAPTER_RANGE

1.2.2 #

  • fixes reference identification

1.2.1 #

  • adds return statement to identifyReferenceType

1.2.0 #

  • Adds [Chapter] objects.
  • Chapter objects added to Reference class fields.
  • Parsing of multi-chapter references possible.

1.1.2 #

  • Updates dependencies

1.1.1 #

  • Fixes README versioning and linting for static analysis

1.1.0 #

  • Adds function to identify bible verses.

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.
12
likes
40
pub points
61%
popularity

Publisher

verified publisherpetit.dev

A package that allows you to parse strings for bible references or match them to their bible verses. Can parse varying formats of references and multiple references at a time.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

html, http

More

Packages that depend on reference_parser