Created
August 9, 2019 14:14
-
-
Save mbenke/d513306b453e08ec6093259924b3a8ce to your computer and use it in GitHub Desktop.
Regex for rpc decorated defs
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
ag '( *)@rpc(.*)(\n\W*@.*)*\W*def\W+\w+(\((?U)([^)])*\))((?U).*):' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment