diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2025-10-14 09:02:41 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2025-10-14 10:54:55 -0400 |
commit | 7864505c3d3030c7a32d0eee360528d0d504f747 (patch) | |
tree | d5fd182a02fdc3a4c44526661bddab508ff60629 /src/sisudoc/meta | |
parent | abstraction metainfo, provide endnote parent ocn (diff) |
- revisit links (fix later)
Diffstat (limited to 'src/sisudoc/meta')
-rw-r--r-- | src/sisudoc/meta/rgx.d | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sisudoc/meta/rgx.d b/src/sisudoc/meta/rgx.d index da48658..86ca40c 100644 --- a/src/sisudoc/meta/rgx.d +++ b/src/sisudoc/meta/rgx.d @@ -251,6 +251,7 @@ static template spineRgxIn() { static inline_link_seg_and_hash = ctRegex!(`┥(?P<text>.+?)┝┤(?P<link>(?P<seg>[^/#├]*)#(?P<hash>.+?))├`, "mg"); static inline_link_clean = ctRegex!(`┤(?:.+?)├|[┥┝]`, "mg"); static inline_link_toc_to_backmatter = ctRegex!(`┤#(?P<link>endnotes|bibliography|bookindex|glossary|blurb)├`, "mg"); + static find_bookindex_ocn_link_and_comma = ctRegex!(`[, ]*┥.+?┝┤#?\S+?├`, "mg"); static url = ctRegex!(`https?://`, "mg"); static uri = ctRegex!(`(?:https?|git)://`, "mg"); static uri_identify_components = ctRegex!(`(?P<type>(?:https?|git)://)(?P<path>\S+?/)(?P<file>[^/]+)$`, "mg"); |