On Sun, 28 Sep 2008 09:32:40 +0000 (UTC), AC <[EMAIL PROTECTED]>
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

Attachment: pgpoejjMvLiTA.pgp
Description: PGP signature

_______________________________________________
Geany mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany

Reply via email to