lyx_mirror/development/autotests/findadv-08-in.txt

41 lines
1.1 KiB
Plaintext
Raw Normal View History

# Basic test for searching with regular expressions
Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-08.loga.txt 2>&1
KK: Nel mezzo del cammin di nostra vita\[Return]
KK: mi ritrovai per una selva oscura\C\[Home]
KK: \Axbuffer-write\[Return]
KK: \Axdialog-show findreplaceadv\[Return]
KK: o
KK: \Axregexp-mode\[Return]
KK: .* a\[Return]
TestEnd
Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8' findadv-08.loga.txt
Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-08.logb.txt 2>&1
KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
KK: o
KK: \Axregexp-mode\[Return]
KK: [\\w]* a
# select whole words
KD: 100
KK: \Ac\Ac
# search next
KK: \Al
TestEnd
Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6' findadv-08.logb.txt
Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-08.logc.txt 2>&1
KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
KK: \Axregexp-mode\[Return]
KK: .* \Ac\Ac
KK: \Al\Al\Al
#KK: \[Tab]\[Return]
TestEnd
Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3' findadv-08.logc.txt