Skip to content

bug: certain marker transitions #11

@darcywong00

Description

@darcywong00

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions