On 14-05-10 07:59 AM, Slavko Kocjancic wrote:
Hello...

I have some strange compiler but want to have option for geany to
highlight the line with error.
But I have no idea how to setup 'error regular expression' to manage that.
In the output of compiler there are line describing error in format:
path/file space lineNumber error message.
for example:

/home/slavko/PLC/plc.asm 94 nepoznan ukaz >MMOV

thet means the file '/home/slavko/PLC/plc.asm' has error in line 94 and
'nepoznan ukaz >MMOV' describe error.

So what expression i need tor that?


I don't know about the "error regular expression" groups and such but in regular PCRE, this might do it:

    ^(?<file>.+?) (?<line>[0-9]+) (?<msg>.+?)$

Cheers,
Matthew Brush
_______________________________________________
Users mailing list
[email protected]
https://lists.geany.org/cgi-bin/mailman/listinfo/users

Reply via email to