avendesora / pythonbible

A python library for validating, parsing, normalizing scripture references and retrieving scripture texts (for open source and public domain versions)
https://docs.python.bible
MIT License
58 stars 11 forks source link

get_referances() is failing to detect #146

Closed jacobthetechy closed 11 months ago

jacobthetechy commented 11 months ago

Working on a project and been having issues with the function properly getting the scripture.

i.e. "Exodus 5:26" will not return a NormalizedReference

import pythonbible as bible
bible.get_references('Exodus 5:26')  # -> []
bible.get_references('Exodus')  # -> [NormalizedReference(book=<Book.EXODUS: 2>, start_chapter=1, start_verse=1, end_chapter=40, end_verse=38, end_book=None)]
]
jacobthetechy commented 11 months ago

Sorry, this is not actually a valid verse.