1 # Finding styles with regexp
2 UseShortcut "C-F20" "regexp-mode"
9 TestBegin test.lyx -dbg key,find > findadv-re-04.loga.txt 2>&1
10 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
11 KK: The quick Brown \CeFox jUMps\Ce over the lazy Dog\[Return]
16 # Uncheck ignore format (depends on IT language)
20 CN: Case insensitive, format not ignored .*
21 KK: \C\[F20].*\[Return]
23 CP: Putting selection at .*idx: 0 par: 0 pos: 16\n with len: 9
27 CO: >> findadv-re-04.ctrl
30 TestBegin test.lyx -dbg key,find >> findadv-re-04.loga.txt 2>&1
31 CN: Case insensitive, format not ignored [a-z]*
33 # Uncheck ignore format (depends on IT language)
37 KK: \C\[F20]\\b[a-z]*\\b\[Return]\[Return]\[Return]
39 CP: Putting selection at .*idx: 0 par: 0 pos: 16\n with len: 3
41 CP: Putting selection at .*idx: 0 par: 0 pos: 20\n with len: 5
45 CO: >> findadv-re-04.ctrl
48 TestBegin test.lyx -dbg key,find >> findadv-re-04.loga.txt 2>&1
50 CN: Case sensitive, format not ignored [a-z]*
55 KK: \Az\[Tab]\C\[F20][a-z]+\[Return]\[Return]\[Return]\[Return]
57 CP: Putting selection at .*idx: 0 par: 0 pos: 17\n with len: 2
60 CP: Putting selection at .*idx: 0 par: 0 pos: 20\n with len: 1
63 CP: Putting selection at .*idx: 0 par: 0 pos: 23\n with len: 2
67 CO: >> findadv-re-04.ctrl
70 TestBegin test.lyx -dbg key,find >> findadv-re-04.loga.txt 2>&1
72 CN: Case sensitive, format not ignored [A-Z]+
77 KK: \Az\[Tab]\C\[F20][A-Z]+\[Return]\[Return]\[Return]
79 CP: Putting selection at .*idx: 0 par: 0 pos: 16\n with len: 1
81 CP: Putting selection at .*idx: 0 par: 0 pos: 21\n with len: 2
85 Assert searchPatterns.pl base=findadv-re-04