pub fn clean_anchor_patterns(text: &str) -> StringExpand description
Clean anchor patterns from text (removes {#anchor-id} patterns).
This is useful for cleaning titles and navigation text.
ยงPanics
Panics if fallback regex pattern fails to compile, which should never happen with hardcoded pattern.