bible-verse-parser
bible-verse-parser copied to clipboard
Wrongly parses references that span across chapters.
There are two cases:
- When the whole chapter is meant the parser only includes the first verse.
Eg: Lev. 18
output: bcv(3,18,1)
expected output: bcv(3,18,1,18,30)
- When reference spans two or more chapters it wrongly excludes the last chapter.
Eg: Lev. 17–18
output: bcv(3,17,1,18,1)
expected output: bcv(3,17,1,18,30)