[Geany] Help with custom compiler

Nick Treleaven nick.treleaven at xxxxx
Thu Jul 19 17:06:12 UTC 2012


On 19/07/2012 15:45, Lex Trotman wrote:
> On 19 July 2012 23:32, Nick Treleaven<nick.treleaven at btinternet.com>  wrote:
>>> IIUC Match group numbering is in the order they occur in the regex,
>>> not the order they match, so the "type two" regex groups are 3 and 4
>>> which geany ignores. The method isn't really suited to mixed
>>
>>
>> No, the type two matches start from 1.
>
> No, matches are numbered in the order of their ( and don't change even
> if the previous ones don't match because they were in a different
> alternate branch.

OK, I just tested this and you're right.

> The ( after File is 1, the ( after line is 2, the two ( in
> :([^:]+):[^:]+:([^:]+)) are 3 and 4 so they would be ignored by geany
> since we only look at one and two.



More information about the Users mailing list