[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: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window |
Date: |
Wed, 27 Mar 2024 03:23:21 -0400 (EDT) |
Follow-up Comment #12, bug #65518 (group octave):
Word boundary (i.e., "\\b") makes a bit more sense than a backspace character
(i.e., "\b").
However, I don't understand why we'd need to match a word boundary. Wouldn't
the following (simpler) regular expression match the same?
QRegularExpression expr {"(\\w+)"};
If we'd like to make sure that the matched function name starts with a letter
or underscore (not a digit), we could maybe use the following expression:
QRegularExpression expr {"\\b([A-Za-z_]\\w*)\\b"};
In that case, matching word boundaries *would* make sense (to make sure it
wouldn't match "test" in "4test").
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65518>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, (continued)
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Markus Mützel, 2024/03/26
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Markus Mützel, 2024/03/26
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, John W. Eaton, 2024/03/26
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Markus Mützel, 2024/03/26
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, John W. Eaton, 2024/03/26
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Torsten Lilge, 2024/03/26
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Torsten Lilge, 2024/03/26
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Rik, 2024/03/26
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Rik, 2024/03/26
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Rik, 2024/03/26
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window,
Markus Mützel <=
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Rik, 2024/03/27
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Torsten Lilge, 2024/03/28
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Markus Mützel, 2024/03/28
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Markus Mützel, 2024/03/28
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Rik, 2024/03/28
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Markus Mützel, 2024/03/29
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Rik, 2024/03/29
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, John W. Eaton, 2024/03/29
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Rik, 2024/03/29
- [Octave-bug-tracker] [bug #65518] Problems with right-click menu on Command Window, Dmitri A. Sergatskov, 2024/03/29