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

bug: certain marker transitions #11

Open
darcywong00 opened this issue Jan 19, 2023 · 0 comments
Open

bug: certain marker transitions #11

darcywong00 opened this issue Jan 19, 2023 · 0 comments

Comments

@darcywong00
Copy link
Contributor

darcywong00 commented Jan 19, 2023

Just noting some of the bugs seen in the source text with the following marker combinations.
At this point, it's faster to fix the source text than debug/update this project

Case 1

Verse bridges currently are expected to go from something like \vs 14-15a
But some texts go

\tx
\vs 14b
\tx
\vs 14c-15a
\tx
\15b-16a

so the current regex can't bridge 14-15-16

Case 2

section header splitting a verse

\tx
\vs 16a
\tx
\vs (section title)
\tx
\vs 16b

The current state machine will start vs 16. then make a section title \ s2, then it doesn't handle \vs 16b correctly

Case 3

Verse bridges are expected to be marked in one of these:

\vs (7-8)a
\vs [7-8]a

so the regex currently doesn't handle:

\vs 7-8 (a)

Likely won't fix these...

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