((error|ERROR|SQL|ORA|SQLite|Invalid)+) 

This regex will only capture these words, and the main problem is, we need to get atleast a line of the error. Moreover, only the python regex will be used for searching transactions in future