<p>With 3.8 version python get a feature called <code>Assignment Expressions</code>. It should be supported by geany's parser. (in <code>findVariables</code>)</p>
<div class="highlight highlight-source-python"><pre><span class="pl-k">if</span> (match := matcher.match(line)):
    <span class="pl-c1">print</span>(match)</pre></div>

<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/issues/2169?email_source=notifications&email_token=AAIOWJ562XWTYQGRFD5SPHTPYJ2M5A5CNFSM4HSAQH3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXDAWHA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZ7GSYBLIL3ZZ2CFULPYJ2M5ANCNFSM4HSAQH3A">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6LPAD3LXYE33KCQJ3PYJ2M5A5CNFSM4HSAQH3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXDAWHA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2169?email_source=notifications\u0026email_token=AAIOWJ562XWTYQGRFD5SPHTPYJ2M5A5CNFSM4HSAQH3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXDAWHA",
"url": "https://github.com/geany/geany/issues/2169?email_source=notifications\u0026email_token=AAIOWJ562XWTYQGRFD5SPHTPYJ2M5A5CNFSM4HSAQH3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXDAWHA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>