Skip to content

Instantly share code, notes, and snippets.

@valkjsaaa
Created May 9, 2015 05:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save valkjsaaa/c8c13801284948f48b98 to your computer and use it in GitHub Desktop.
Save valkjsaaa/c8c13801284948f48b98 to your computer and use it in GitHub Desktop.
Regular expression to match bracket verilog
\{(([^\{\}]?(?R)?(\{((?3)|[^\{\};])*\})?)*;+([^\{\}]?(?R)?(\{((?3)|[^\{\};])*\})?)*)\}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment