1 # Basic test for searching with regular expressions
4 TestBegin test.lyx -dbg key,find > findadv-08.loga.txt 2>&1
5 KK: Nel mezzo del cammin di nostra vita\[Return]
6 KK: mi ritrovai per una selva oscura\C\[Home]
7 KK: \Axbuffer-write\[Return]
8 KK: \Axdialog-show findreplaceadv\[Return]
10 KK: \Axregexp-mode\[Return]
14 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8' findadv-08.loga.txt
17 TestBegin test.lyx -dbg key,find > findadv-08.logb.txt 2>&1
18 KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
20 KK: \Axregexp-mode\[Return]
29 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6' findadv-08.logb.txt
32 TestBegin test.lyx -dbg key,find > findadv-08.logc.txt 2>&1
33 KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
34 KK: \Axregexp-mode\[Return]
40 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3' findadv-08.logc.txt