Created
January 20, 2018 14:04
-
-
Save imduffy15/f2219d233fe9a4263476d69219f98d21 to your computer and use it in GitHub Desktop.
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
\{ # { character | |
(?: # non-capturing group | |
[^{}] # anything that is not a { or } | |
| # OR | |
(?R) # recurses the entire pattern | |
)* # previous group zero or more times | |
\} # } character |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment