diff --git a/development/autotests/findadv-19-in.txt b/development/autotests/findadv-19-in.txt new file mode 100644 index 0000000000..f43dde9199 --- /dev/null +++ b/development/autotests/findadv-19-in.txt @@ -0,0 +1,10 @@ +# Check that searching for regexp "([a-z]+)\s\1" finds duplicate words. + +Lang it_IT.utf8 +TestBegin test.lyx -dbg find > lyx-log.txt 2>&1 +KK: Hello world world!\C\[Home] +KK: \Cs +KK: \CF +KK: \Axregexp-mode\[Return]([a-z]+)\\s\\1\[Return] +TestEnd +Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 6\n with len: 11' lyx-log.txt