Expand description
Annotation hyperlink extractors (Protégé Wave 2 *LinkExtractor ports).
Keep regex tables in sync with
extension/webview-ui/src/utils/annotationLinks.ts.
Structs§
- Annotation
Link - A single hyperlink match inside annotation text.
Functions§
- extract_
first_ link_ url - First matching link URL for
text, if any (ProtégéextractLinkLiteralstyle). - extract_
links - Extract all annotation hyperlinks from
text(non-overlapping, left-to-right). - extract_
with_ pattern - Build a regex-based extractor for custom patterns (Protégé
RegExBasedLinkExtractor). - linkify_
markdown_ text - Escape markdown specials, then wrap extracted link spans as
[text](url).