On Sun, 7 Jan 2024 at 04:49, Ray Andrews via Users <users@lists.geany.org> wrote: > > Greetings: > > I'm trying to do a very simple regex: search for 'n_' followed by any > character and preceded by any character except 'n'. I'm no expert but > I'm expecting this to work: > > [.^n]n_. > > ... but it don't.
https://developer-old.gnome.org/glib/stable/glib-regex-syntax.html > > BTW, possible bug: If I click 'Match only a whole word' then click 'Use > regular expressions', I can no longer unclick the former, I have to > unclick the latter, then unclick the former, then reclick the latter. > Not exactly a big problem but still, it seems like a bug. "Match whole word", "Match from start of word" and "Use escape sequences" do not apply to regexes, so those settings are made insensitive (greyed out) when regex is set. Insensitive UI items cannot be changed which is why it behaves the way you observed. It is not a bug, its the way the toolkit works. Cheers Lex > > Thanks guys. > > > _______________________________________________ > Users mailing list -- users@lists.geany.org > To unsubscribe send an email to users-le...@lists.geany.org _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-le...@lists.geany.org