-
I need help regexing. I've used regexer, but still lost. I want to capture nunjucks comments that starts with
@docs
: {# @docs <anything here> #} Current solution relies on disallowing}
, which is not ideal. How do I make this more robust? /^\{#\s*@docs+(?:[^}]+)*#}/gm