octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65518] Problems with right-click menu on Comm


From: Rik
Subject: [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window
Date: Tue, 26 Mar 2024 18:01:36 -0400 (EDT)

Follow-up Comment #10, bug #65518 (group octave):

This regular expression works for me


        QRegularExpression expr {"\\b(\\w+)\\b"};



If you select a region which has "<whitespace><word><whitespace>" then this
regexp will properly pick out just the word.

If you select multiple words with the mouse then this regexp picks out just
the first one.  For example, with the highlighted string "abc def" then just
"abc" will be returned.

This seems okay to me, but if someone wants a different behavior we could code
that instead.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65518>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]