Hi,
I need a bit of help with parsing the Tool Output Window. The output is of the form:
EDC.c 569 81 LINT> Warning 571: Suspicious cast
ie. filename row col Rest of line information message.
Using TextPad 7.4 and the following regular expression:
^\(.+\)\s*\(\d+\)\s*\(\d+\).+\n
Had a look through the forums but cannot get it to work (found a post from me saying how to do it but it no longer works). Should it contain the full path? The working folder is where the files are.
Tool Output for PC Lint
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
You're using an old style of regular expression that was abandoned in TextPad 7.
But it wouldn't have worked anyway, because the first .+ will gobble up as much of the text, including spaces, as it can.
Try
But it wouldn't have worked anyway, because the first .+ will gobble up as much of the text, including spaces, as it can.
Try
Code: Select all
(.+?)\s+(\d+)\s+(\d+)