Skip to content

Commit

Permalink
Merge pull request #204 from amazingplants/genera-multi-hyphenated
Browse files Browse the repository at this point in the history
Support genus names with multiple hyphens; closes #203
  • Loading branch information
dimus committed Nov 14, 2021
2 parents 6e213ef + aedb0b2 commit 6dcabe6
Show file tree
Hide file tree
Showing 3 changed files with 2,943 additions and 2,891 deletions.
4 changes: 3 additions & 1 deletion ent/parser/grammar.peg
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ CapWord <- CapWordWithDash / CapWord1

CapWord1 <- NameUpperChar NameLowerChar NameLowerChar+ '?'?

CapWordWithDash <- CapWord1 Dash (UpperAfterDash / LowerAfterDash)
CapWordWithDash <- CapWord1 Dash WordAfterDash (Dash WordAfterDash)?

WordAfterDash <- (UpperAfterDash / LowerAfterDash)

UpperAfterDash <- CapWord1

Expand Down
Loading

0 comments on commit 6dcabe6

Please sign in to comment.