and I can keep going by adding every possible unicode symbol to the middle, but I’m wondering if there isn’t a way to match every character, like .* in regex? Thanks!
An underscore matches any character. But that won’t work here, because that’ll also match {% endcomment %}. Finding that kind of end terminators in a regular language is awkward, so it might be easier to write this as an external tokenizer.