]> git.lyx.org Git - lyx.git/blob - development/autotests/findadv-re-02-in.txt
partly revert commit a860d18b5a722606c68fb1a4ec22ffe3e99792e6
[lyx.git] / development / autotests / findadv-re-02-in.txt
1 # Finding special latex/regexp chars: \
2 #
3 Lang it_IT.utf8
4 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
5 KK: \\()[]{}%^#@?*.\C\[Home]
6 KK: \Cs
7 KK: \CF
8 KK: \Axregexp-mode\[Return]\\\\\[Return]
9 TestEnd
10 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 1' lyx-log.txt
11 #
12 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
13 KK: \CF
14 # Uncheck ignore format
15 KK: \Az\Ag\Ae
16 KK: \Axregexp-mode\[Return]\\\\\[Return]
17 TestEnd
18 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 1' lyx-log.txt
19
20 # Finding special latex/regexp chars: %
21 #
22 Lang it_IT.utf8
23 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
24 KK: \CF
25 KK: \Axregexp-mode\[Return]%\[Return]
26 TestEnd
27 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 7\n with len: 1' lyx-log.txt
28 #
29 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
30 KK: \CF
31 # Uncheck ignore format
32 KK: \Az\Ag\Ae
33 KK: \Axregexp-mode\[Return]%\[Return]
34 TestEnd
35 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 7\n with len: 1' lyx-log.txt
36
37 # Finding special latex/regexp chars: ^
38 #
39 Lang it_IT.utf8
40 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
41 KK: \CF
42 KK: \Axregexp-mode\[Return]\\^\[Return]
43 TestEnd
44 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 1' lyx-log.txt
45 #
46 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
47 KK: \CF
48 # Uncheck ignore format
49 KK: \Az\Ag\Ae
50 KK: \Axregexp-mode\[Return]\\^\[Return]
51 TestEnd
52 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 1' lyx-log.txt