v21’s avatarv21’s Twitter Archive—№ 34,818

        1. 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}"
      1. …in reply to @v21
        help please? the best i could do was /([^\\]?\{(.+?[^\\])\})+/ but it doesn't work when the closing and opening tags are too close together
    1. …in reply to @v21
      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.
  1. …in reply to @v21
    for reference, the solution I'm going with, courtesy @BooDooPerson, is to reverse it, then regex it gist.github.com/v21/0dbfa4a9b6b9e9f63d23