I have a regex pattern that needs to capture the shortest matches, but the lazy match isn\'t working in cases where that pattern is nested. Here\'s what I mean:
Regex pa
Well, problem is that .* matches everything. if you want just to match content between {{ and }}, you can try following regex:
.*
{{
}}
\{{2}[^\{]*?\}{2}
See demo at regex101