I'm very bad with regular expressions and cannot find how to write the pattern I'm looking for. I'm trying to parse the output from Visual Studio looking for errors. I'd like to exclude things like...
5>projname - 0 error(s), 0 warning(s)
but grab lines like 6>codeFile.cpp(1282): error: 'TEST_ITEM' was not declared in this scope
I know for this specific example it'd be very easy to test against error: but it's possible for error to have whitespace on any side. I need essentially a pattern that will match everything except "0 error(s)". Any help or suggestions would be great!
Thanks