-
i can't seem to write a JS regex to do this: "{match this} not this {this too} \{not this, this is escaped\} not {this, though}{and this}"
-
help please? the best i could do was /([^\\]?\{(.+?[^\\])\})+/ but it doesn't work when the closing and opening tags are too close together
-
thank you everyone for your help. i have now learned that the reason i was having difficulty is because it is a difficult thing to do.
-
for reference, the solution I'm going with, courtesy @BooDooPerson, is to reverse it, then regex it gist.github.com/v21/0dbfa4a9b6b9e9f63d23