Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

second book of two not recognized if it begins with a digit #18

Open
slukejones opened this issue Mar 6, 2019 · 0 comments
Open

second book of two not recognized if it begins with a digit #18

slukejones opened this issue Mar 6, 2019 · 0 comments

Comments

@slukejones
Copy link

When using Pericope::parse, if the second book in a pair begins with a digit, then that digit will be included in the 1st pericope, and the second book won't be recognized. An example will clarify:
blah Acts 20:21; Exodus 5:1-14 blah
is parsed correctly, but
blah Acts 20:21; 2 Kings 5:1-14 blah
is parsed as "Acts 20:21, 2". This one is recognizably an error because the verses shouldn't decrease, but something like "Exodus 1:10-2:1; 2 Kings 5:1-14" would be trickier.
I've never seen a BNF for Bible verses, I would think that ';' can be used to separate blocks of verses, but only if it's not being used to separate whole pericopes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant