[Geany] integrating external tools (e.g. lint)
Nick Treleaven
nick.treleaven at xxxxx
Mon Sep 29 12:16:36 UTC 2008
On Sun, 28 Sep 2008 09:32:40 +0000 (UTC)
AC <gmane.0vd at gishpuppy.com> wrote:
> However, it seems the RegEx isn't working as expected:
> error_regex=(.+?):([0-9]+)
> When I click on the following error message:
> test.py:7:24: E202 whitespace before ']'
> ... the status bar says:
> Could not open /tmp/test.py:7 (No such file or directory)"
> So it appears the non-greedy matching doesn't work.
Thanks for pointing this out, I've now updated the docs (but the web
docs might not be up to date until tomorrow):
*Example:* ``error_regex=(.+):([0-9]+):[0-9]+``
This will parse a message such as:
``test.py:7:24: E202 whitespace before ']'``
I'd thought GNU regex did support non-greedy matching, but evidently my
initial tests weren't good enough to show they didn't. For reference, I
have glibc-2.4-11 (Fedora Core 5).
Regards,
Nick
More information about the Users
mailing list