Regular Expressions to match output.
Posted: Mon Feb 23, 2004 3:56 pm
I have defined a tool to call our compiler but I am struggling to write an expression that will allow me to double click on an error in the output and take me to the file and line containing the error.
Our errors are output in the format :-
C:\TEMP\PROG1.CBL, line 238: Undefined data item: WSWROPN-LINKAGE1
What I need to extract is the file as PROG1.CBL (loosing the path) and the line number as 238.
Can anyone help me with the correct expression to add to the tool preferences.
Thanks,
Richard
Our errors are output in the format :-
C:\TEMP\PROG1.CBL, line 238: Undefined data item: WSWROPN-LINKAGE1
What I need to extract is the file as PROG1.CBL (loosing the path) and the line number as 238.
Can anyone help me with the correct expression to add to the tool preferences.
Thanks,
Richard