Hi Monks, Can you guys enlighten me with your knowledge!!! I am in search of regular expressions which extracts out all the possible Errors/exception in python code base
Here is what I came up with
grep -RnH "raise .*Error" *.py grep -RnH "except .*:" *.py
I need to add a preamble to the error messages/warnings/exception in python code. To start with I used above pattern to get the required list of error messages! Any help in making it more complete would be of great help
Thanks
Asab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |