[Geany] integrating external tools (e.g. lint)

Enrico Tröger enrico.troeger at xxxxx
Sun Sep 28 10:15:17 UTC 2008


On Sun, 28 Sep 2008 09:32:40 +0000 (UTC), AC <gmane.0vd at gishpuppy.com>
wrote:

> > There are plans for a new release but nothing finalized by now.
> > There are still a couple of things inside queue that needs to be
> > done. So building from svn might be a good idea at this time ;) 
> 
> Ok, done that - compiling from source was surprisingly easy (Ubuntu
> 8.04: git clone ...; cd geany; ./autogen.sh; make; make install).
> 
> 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.

The regular expression you used from the manual is to match a different
format that you have.

Try this one:

error_regex=^(.+?):([0-9]+):[0-9]+

Maybe it could be done better, I'm not good in writing regexps, but
it works :).


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20080928/c868cd56/attachment.pgp>


More information about the Users mailing list