Remove use of non-greedy matching in error_regex - this doesn't seem

to be supported by common versions of glibc (thanks to AC for
reporting).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3020 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2008-09-29 12:13:45 +00:00
parent 7ba3f99488
commit 9b6e4c02a2
3 changed files with 552 additions and 544 deletions

View File

@ -1,3 +1,11 @@
2008-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Remove use of non-greedy matching in error_regex - this doesn't seem
to be supported by common versions of glibc (thanks to AC for
reporting).
2008-09-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> 2008-09-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/notebook.c: * geany.glade, src/interface.c, src/notebook.c:

File diff suppressed because it is too large Load Diff

View File

@ -2720,10 +2720,10 @@ error_regex
a match that is purely digits, and use this for the line number. The a match that is purely digits, and use this for the line number. The
remaining match will be used as the filename. remaining match will be used as the filename.
*Example:* ``error_regex=^(.+?):([0-9]+)`` *Example:* ``error_regex=(.+):([0-9]+):[0-9]+``
This will parse a message of the form ``filename.c:123``. (It uses This will parse a message such as:
non-greedy matching for the filename using the string ``+?``). ``test.py:7:24: E202 whitespace before ']'``
**Build commands** **Build commands**