Test, validate and match regular expressions
This regex is designed to filter and extract error messages from JADX decompiler logs. It specifically targets lines starting with 'ERROR - Method:', capturing the Java method signature (including packages and arguments) into the first capturing group. The global flag allows it to find all matching error occurrences in a given log output. Note that the character class at the end will match commas, pipes, or closing parentheses.