]> git.lyx.org Git - lyx.git/blob - development/autotests/findadv-21-in.txt
Added a testcase for #8381 (advanced find & replace for lists)
[lyx.git] / development / autotests / findadv-21-in.txt
1 # Test for searching with regular expressions
2 # Test for #8381
3
4 Lang sk_SK.utf8
5 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
6 KK: \Apb
7 KK: one\[Return]
8 KK: two\[Return]
9 KK: three\[Return]
10 KK: \Ape
11 KK: four\[Return]
12 KK: five\[Return]
13 KK: \Apl
14 KK: l1 six\[Return]
15 KK: l2 seven\[Return]
16 KK: \Apd
17 KK: op1 eight\[Return]
18 KK: op2 nine\C\[Home]
19 KK: \Cs
20 KK: \CF
21 # Uncheck ignore format
22 KK: \At\Ai\Ah
23 KK: \Ape
24 KK: \Axregexp-mode\[Return][a-z]* \[Return]
25 TestEnd
26 Lang C
27 Assert pcregrep -M 'Putting selection at cur= inset: .* idx: 0 par: 3 pos: 0\n with len: 4' lyx-log.txt
28
29 Lang sk_SK.utf8
30 TestBegin test.lyx -dbg find > lyx-log2.txt 2>&1
31 KK: \CF
32 # Uncheck ignore format
33 KK: \At\Ai\Ah
34 KK: \Apd
35 KK: \Axregexp-mode\[Return][a-z]*\\s+[a-z]* \[Return]\[Return]
36 TestEnd
37 Lang C
38 Assert pcregrep -M 'Putting selection at cur= inset: .* idx: 0 par: 7 pos: 3\n with len: 6' lyx-log2.txt