Regexp problem?
Posted: Fri Oct 18, 2002 4:21 pm
I'm trying to get a regexp working to extract the file and line number from the
output of a Modelsim VHDL compilation.
An example output line is...
ERROR: C:\PROJECTS\USB_IF\TESTB\TB_USB~1.VHD(152): near "^": expecting: END_
My regexp is
^\(ERROR\|WARNING\):\(.+\)(\([0-9]\))
File = 2
Line = 3
When I double click on this line in the command window I get
"Cannot jump to item under cursor".
Is my regexp wrong (it seems pretty simple), or does Textpad not handle Win98
shortening the long filename to tb_usb~1.vhd?
Thanks for any help,
Nial.
output of a Modelsim VHDL compilation.
An example output line is...
ERROR: C:\PROJECTS\USB_IF\TESTB\TB_USB~1.VHD(152): near "^": expecting: END_
My regexp is
^\(ERROR\|WARNING\):\(.+\)(\([0-9]\))
File = 2
Line = 3
When I double click on this line in the command window I get
"Cannot jump to item under cursor".
Is my regexp wrong (it seems pretty simple), or does Textpad not handle Win98
shortening the long filename to tb_usb~1.vhd?
Thanks for any help,
Nial.