On 19/07/2012 15:45, Lex Trotman wrote:
On 19 July 2012 23:32, Nick Treleavennick.treleaven@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.