[Github-comments] [geany/geany] Jump to line number when regex matched in Message and Compile window (#2121)

bernardlj notifications at xxxxx
Thu Apr 11 04:47:35 UTC 2019


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 <notifications at github.com> 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
bernard.l.jacobs at gmail.com


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190410/38aac0ff/attachment.html>


More information about the Github-comments mailing list