1 # Finding special latex/regexp chars: \
4 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
5 KK: \\()[]{}%^#@?*.\C\[Home]
8 KK: \Axregexp-mode\[Return]\\\\\[Return]
10 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 1' lyx-log.txt
12 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
14 # Uncheck ignore format
16 KK: \Axregexp-mode\[Return]\\\\\[Return]
18 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 1' lyx-log.txt
20 # Finding special latex/regexp chars: %
23 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
25 KK: \Axregexp-mode\[Return]%\[Return]
27 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 7\n with len: 1' lyx-log.txt
29 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
31 # Uncheck ignore format
33 KK: \Axregexp-mode\[Return]%\[Return]
35 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 7\n with len: 1' lyx-log.txt
37 # Finding special latex/regexp chars: ^
40 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
42 KK: \Axregexp-mode\[Return]\\^\[Return]
44 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 1' lyx-log.txt
46 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
48 # Uncheck ignore format
50 KK: \Axregexp-mode\[Return]\\^\[Return]
52 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 1' lyx-log.txt