Hi

I changed the regex to this ^.*(\b[A-Z][:].*bas\b)[ ](\b\d+\b)\b.*

and its working beautifully!! : The line is highlighted and I can jump to
it with a click - awesome!

It was a learning curve with regular expressions and their power is
incredible.

Thanks very much for your assistance and patience.  I am very pleased with
the outcome. My migration to Geany as the preferred editor for Swordfish
Basic is now complete.

Big time appreciated!!

Regards

Bernard



On Thu, Apr 11, 2019 at 12:49 AM elextr <[email protected]> wrote:

> Some observations on your regex:
>
>    1.
>
>    it has the parts that match the filename and parts that match the line
>    number as alternates | so it will never match both, and
>    2.
>
>    it has three subpatterns (), not just two, thats ok, but be aware
>    Geany will only look at the first two.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/geany/geany/issues/2121#issuecomment-481896574>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AvICuglDVm_o0k9od0pCrhn-OuG77EFsks5vfmpkgaJpZM4ci_bT>
> .
>


-- 
Bernard Jacobs
[email protected]


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2121#issuecomment-481963596

Reply via email to