This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| / [ # non capturing group 1 | |
| $<a>=[ # non capturing group 2, saved into named capture a | |
| '{' # match a { | |
| ~ # with stuff in between (or some kind of "until", maybe) | |
| '}' # finish with a } | |
| .+? # btw, the stuff in between is anything, but as little as possible | |
| ] # non capt group 2 done | |
| ]+ # non capt group 1 done, but get multiple of those | |
| % # separated by | |
| <-[{]>+ # any number of not-{ | |
| / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment