<blockquote>
<p>BTW it seems that backreferences do not support named groups.</p>
</blockquote>
<p>From the glib regex syntax description:</p>
<pre><code>Back references to named subpatterns use the Perl syntax \k<name> or \k'name' or the Python syntax (?P=name).
</code></pre>
<p>but I admit its not easy to find. And named back references are also numbered too of course.</p>
<blockquote>
<p>I think I should document this convetions at least as a comment for filetypes_parse_error_message</p>
</blockquote>
<p>Don't worry I will hound you to document it adequately in the manual before the PR will get accepted, erm I mean <em>help</em> you of course :)</p>
<p>IMHO the hard coded error parsing really should not be encouraged any more due to its limitations, lack of maintenance and failure to support newer tools.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1649#issuecomment-336890937">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ7qe8ZXKPo2utoz83WSWxmCDUecfks5ss13GgaJpZM4P58Kt">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ94HIyMJTaWIg2gqijMaWmxAeTYyks5ss13GgaJpZM4P58Kt.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/1649#issuecomment-336890937"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@elextr in #1649: \u003e BTW it seems that backreferences do not support named groups.\r\n\r\nFrom the glib regex syntax description:\r\n\r\n```\r\nBack references to named subpatterns use the Perl syntax \\k\u003cname\u003e or \\k'name' or the Python syntax (?P=name).\r\n```\r\n\r\nbut I admit its not easy to find. And named back references are also numbered too of course.\r\n\r\n\u003e I think I should document this convetions at least as a comment for filetypes_parse_error_message\r\n\r\nDon't worry I will hound you to document it adequately in the manual before the PR will get accepted, erm I mean _help_ you of course :)\r\n\r\nIMHO the hard coded error parsing really should not be encouraged any more due to its limitations, lack of maintenance and failure to support newer tools."}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/1649#issuecomment-336890937"}}}</script>