<div dir="ltr">[...]<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It's not a limitation, but a bug in the current regex parser. We<br>

should either document that the first two capturing groups are used,<br>
no matter if they match, or skip the non-matching groups (which is<br>
quite easy). After that, P11 can be updated - fixing the regex parser<br>
is outside it's scope.<br></blockquote><div><br></div><div>Yes, there was a misunderstanding (forget who, but remember mentioning it) that the capture numbers of Gregex are static, match one is the first capture () match two the second () even if they did not match.  Seems like the code wasn't fixed though.  Filetypes_parse_error_message() just needs to loop through the matches until it finds the first two that actually matched.</div>
<div><br></div><div>Cheers</div><div>Lex</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
E-gards: Jimmy<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.geany.org">Devel@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/devel" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div></div>