Regex expression for MPC C compiler
Posted: Wed Jan 20, 2010 3:09 am
The external tool replies with the following text in the Tool Output:
My Regex (posit style) expression is:
The regex seems to find the text and the four groups seem to function during a replace (F8) as well.
Nevertheless, the double click on the Error line does not result in a jump.
Any ideas? Do I need to restart textpad after changing the Regex ?[/code]
Code: Select all
C:\1LMA-3D9\V_09>MPC.EXE +l +e +dINHX8M v_main.c
C:\1LMA-3D9\V_09>type v_main.err
ERROR v_main.c 58:9:ILLEGAL OR UNDEFINED ARGUMENT xyz
WARNING V_serial.c 280:17:ARGUMENT OUT OF RANGE HDataPtr (00B5) not between 0000 and 007F
Tool completed successfullyCode: Select all
^(ERROR|WARNING) +([A-Za-z0-9_\.]+) +([0-9]+):([0-9]+):
File = 2 Line = 3 Column = 4
Nevertheless, the double click on the Error line does not result in a jump.
Any ideas? Do I need to restart textpad after changing the Regex ?[/code]