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
Try: {{[^{]*?}} This is using the fact that the '{' character should not appear in the inner strings. It does match what you expect.
{{[^{]*?}}