Skip to content

Commit

Permalink
Merge pull request #2352 from laws-africa/refs
Browse files Browse the repository at this point in the history
support "sub section" in provision refs, strip punct around nums
  • Loading branch information
longhotsummer authored Feb 10, 2025
2 parents e67af06 + 29d3d1f commit f660cea
Show file tree
Hide file tree
Showing 4 changed files with 216 additions and 38 deletions.
5 changes: 4 additions & 1 deletion indigo/analysis/refs/provision_refs.peg
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,13 @@ grammar ProvisionRefs
`sections` / `section` /
`subparagraphs` / `subparagraph` /
`sub-paragraphs` / `sub-paragraph` /
`sub paragraphs` / `sub paragraph` /
`subregulations` / `subregulation` /
`sub-regulations` / `sub-regulation` /
`sub regulations` / `sub regulation` /
`subsections` / `subsection` /
`sub-sections` / `sub-section`
`sub-sections` / `sub-section` /
`sub sections` / `sub section`

# afrikaans
unit_afr <- `afdelings` / `afdeling` /
Expand Down
Loading

0 comments on commit f660cea

Please sign in to comment.