diff --git a/docs/template.typ b/docs/template.typ index 23216db..712c6e7 100644 --- a/docs/template.typ +++ b/docs/template.typ @@ -48,8 +48,8 @@ "output", "streamer", "modifier", ) -// yes, the shadowing is intentional -#let terms = regex(terms.map(expand).join("|")) +// yes, the shadowing is intentional to avoid accidentally using the list +#let terms = regex("\\b(" + terms.map(expand).join("|") + ")\\b") #let conf( title: none,