Hi<br>
<br>
I changed the regex to this ^.*(\b[A-Z][:].*bas\b)[ ](\b\d+\b)\b.*<br>
<br>
and its working beautifully!! : The line is highlighted and I can jump to<br>
it with a click - awesome!<br>
<br>
It was a learning curve with regular expressions and their power is<br>
incredible.<br>
<br>
Thanks very much for your assistance and patience.  I am very pleased with<br>
the outcome. My migration to Geany as the preferred editor for Swordfish<br>
Basic is now complete.<br>
<br>
Big time appreciated!!<br>
<br>
Regards<br>
<br>
Bernard<br>
<br>
<br>
<br>
On Thu, Apr 11, 2019 at 12:49 AM elextr <notifications@github.com> wrote:<br>
<br>
> Some observations on your regex:<br>
><br>
>    1.<br>
><br>
>    it has the parts that match the filename and parts that match the line<br>
>    number as alternates | so it will never match both, and<br>
>    2.<br>
><br>
>    it has three subpatterns (), not just two, thats ok, but be aware<br>
>    Geany will only look at the first two.<br>
><br>
> â€”<br>
> You are receiving this because you authored the thread.<br>
> Reply to this email directly, view it on GitHub<br>
> <https://github.com/geany/geany/issues/2121#issuecomment-481896574>, or mute<br>
> the thread<br>
> <https://github.com/notifications/unsubscribe-auth/AvICuglDVm_o0k9od0pCrhn-OuG77EFsks5vfmpkgaJpZM4ci_bT><br>
> .<br>
><br>
<br>
<br>
-- <br>
Bernard Jacobs<br>
bernard.l.jacobs@gmail.com<br>


<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/2121#issuecomment-481963596">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ5v1_Ydg4qylTTf8Tzhxlz61iKAsks5vfr5ngaJpZM4ci_bT">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJy5GUDXP4a0a--4VazU5Hmk1Cq6Yks5vfr5ngaJpZM4ci_bT.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":"@bernardlj in #2121: Hi\n\nI changed the regex to this ^.*(\\b[A-Z][:].*bas\\b)[ ](\\b\\d+\\b)\\b.*\n\nand its working beautifully!! : The line is highlighted and I can jump to\nit with a click - awesome!\n\nIt was a learning curve with regular expressions and their power is\nincredible.\n\nThanks very much for your assistance and patience.  I am very pleased with\nthe outcome. My migration to Geany as the preferred editor for Swordfish\nBasic is now complete.\n\nBig time appreciated!!\n\nRegards\n\nBernard\n\n\n\nOn Thu, Apr 11, 2019 at 12:49 AM elextr \u003cnotifications@github.com\u003e wrote:\n\n\u003e Some observations on your regex:\n\u003e\n\u003e    1.\n\u003e\n\u003e    it has the parts that match the filename and parts that match the line\n\u003e    number as alternates | so it will never match both, and\n\u003e    2.\n\u003e\n\u003e    it has three subpatterns (), not just two, thats ok, but be aware\n\u003e    Geany will only look at the first two.\n\u003e\n\u003e â€”\n\u003e You are receiving this because you authored the thread.\n\u003e Reply to this email directly, view it on GitHub\n\u003e \u003chttps://github.com/geany/geany/issues/2121#issuecomment-481896574\u003e, or mute\n\u003e the thread\n\u003e \u003chttps://github.com/notifications/unsubscribe-auth/AvICuglDVm_o0k9od0pCrhn-OuG77EFsks5vfmpkgaJpZM4ci_bT\u003e\n\u003e .\n\u003e\n\n\n-- \nBernard Jacobs\nbernard.l.jacobs@gmail.com\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/2121#issuecomment-481963596"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2121#issuecomment-481963596",
"url": "https://github.com/geany/geany/issues/2121#issuecomment-481963596",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>