<p>Thank you very much elextr for your help. My earlier regex needed some edit. I have finally made it work with this.</p>
<blockquote>
<p>^(.+)(([0-9]+))</p>
</blockquote>
<p>This is going save me a lot of time in debugging a few 100s of lines of CUDA code. Thank you.</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/issues/2213?email_source=notifications&email_token=AAIOWJ24CGIGSOQD4DJYOTTP62KZ7A5CNFSM4H7MYBH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZVJUXY#issuecomment-510302815">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7OTB3S5VKIHUPI7WLP62KZ7ANCNFSM4H7MYBHQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7PGN36AKP7MRF352DP62KZ7A5CNFSM4H7MYBH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZVJUXY.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/2213?email_source=notifications\u0026email_token=AAIOWJ24CGIGSOQD4DJYOTTP62KZ7A5CNFSM4H7MYBH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZVJUXY#issuecomment-510302815",
"url": "https://github.com/geany/geany/issues/2213?email_source=notifications\u0026email_token=AAIOWJ24CGIGSOQD4DJYOTTP62KZ7A5CNFSM4H7MYBH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZVJUXY#issuecomment-510302815",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>