<blockquote>
<p>Doesn't the regex syntax differ between them?</p>
</blockquote>
<p>Hum, good point, it might.  Although, it probably is "mostly" the same if using the same extension mode.  IIRC GRegex is using gnu regex, but maybe modified.</p>
<blockquote>
<p>The diff against ctags looked really scary but maybe if I just took the uctags version and GRegex-ified it, it might not be so bad.</p>
</blockquote>
<p>That'd be a good surprise ^^</p>
<blockquote>
<p>I just wasn't particularly motivated by the languages we use - ActionScript (which is used by Flash and is about to die) and Cobol which might be used by some legacy mainframe software but that's about it.</p>
</blockquote>
<p>I'd be more interested in Cobol than ActionScript, but yeah both are probably niches in 2018.</p>
<blockquote>
<p>I also don't think it's worth writing proper parsers for these.</p>
</blockquote>
<p>Meh, were would the fun be then? :(</p>
<blockquote>
<p>It might be different if we want to use more regex-based parsers from uctags but my current thinking is something like: "If a language is popular enough, it probably has a proper parser in uctags and then we should support it in Geany. If the language is not popular enough to have an uctags parser, there's no need to support it in Geany".</p>
</blockquote>
<p>Makes some sense.  And actually, the largest use case for the regex engine in ctags is custom language definitions on the CLI/options file, and we don't support that, so it's no so useful.</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/1263#issuecomment-448000604">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ5bDatBSQ4iAjndcam9OSt1XdkEWks5u6AjHgaJpZM4KXvBh">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ6K2sEFQ80v7PMLXy9BSyt_ueeVbks5u6AjHgaJpZM4KXvBh.gif" height="1" width="1" alt="" /></p>
<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://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@b4n in #1263: \u003e Doesn't the regex syntax differ between them?\r\n\r\nHum, good point, it might.  Although, it probably is \"mostly\" the same if using the same extension mode.  IIRC GRegex is using gnu regex, but maybe modified.\r\n\r\n\u003e The diff against ctags looked really scary but maybe if I just took the uctags version and GRegex-ified it, it might not be so bad.\r\n\r\nThat'd be a good surprise ^^\r\n\r\n\u003e I just wasn't particularly motivated by the languages we use - ActionScript (which is used by Flash and is about to die) and Cobol which might be used by some legacy mainframe software but that's about it.\r\n\r\nI'd be more interested in Cobol than ActionScript, but yeah both are probably niches in 2018.\r\n\r\n\u003e I also don't think it's worth writing proper parsers for these.\r\n\r\nMeh, were would the fun be then? :(\r\n\r\n\u003e It might be different if we want to use more regex-based parsers from uctags but my current thinking is something like: \"If a language is popular enough, it probably has a proper parser in uctags and then we should support it in Geany. If the language is not popular enough to have an uctags parser, there's no need to support it in Geany\".\r\n\r\nMakes some sense.  And actually, the largest use case for the regex engine in ctags is custom language definitions on the CLI/options file, and we don't support that, so it's no so useful."}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/1263#issuecomment-448000604"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/1263#issuecomment-448000604",
"url": "https://github.com/geany/geany/pull/1263#issuecomment-448000604",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>