On 09/16/2018 02:47 AM, Kornel Benko wrote: > Am Freitag, 14. September 2018 13:06:46 CEST schrieb Kornel Benko > <kor...@lyx.org>: >> This is test 'keytest/findadv-re-04' >> >> 1.) Open attached file with 'lyx -dbg key,find test.lyx' >> 2.) goto start of buffer >> 3.) open advanced search >> 4.) in Settings de-select 'ignore format' >> 5.) select emphasized >> 6.) select regexp-mode >> (with Alt-x regexp-mode) >> 7.) enter [a-z]* >> 8.) enter 'Return' >> (You should see the lines for 'Fox' >> Putting selection at .*idx: 0 par: 0 pos: 16 >> with len: 3 >> but instead the regex finds 'jUMps' >> Putting selection at .*idx: 0 par: 0 pos: 20 >> with len: 5 >> ) >> > Attached cures it for me. > Riki, could you check? I disabled part of your code.
That seems to have been added by Abdel at c5e56fea. He committed it for Tommaso, it seems. I'm totally unfamiliar with this code. Riki