Last active
December 11, 2019 21:18
-
-
Save brianschmitt/755dd09e33018a2b1dc6 to your computer and use it in GitHub Desktop.
Find Empty Catch Blocks - Visual Studio Regex
This file contains hidden or 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
//Find Dialog - Use Regular Expressions - works for both C# and VB | |
catch.*[\r?\n\s]*((End Try)|({\s*\r?\n*})) | |
//For older versions of Visual Studio: | |
catch.*\n+:b+((End Try)|(\{[:b\n]+\})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment