2017-04-27 11:11:21 +00:00
|
|
|
# Test for searching with regular expressions
|
|
|
|
# Test for #8381
|
|
|
|
|
|
|
|
Lang sk_SK.utf8
|
2017-05-09 19:08:52 +00:00
|
|
|
TestBegin test.lyx -dbg key,find > findadv-21.loga.txt 2>&1
|
2017-04-27 11:11:21 +00:00
|
|
|
KK: \Apb
|
|
|
|
KK: one\[Return]
|
|
|
|
KK: two\[Return]
|
|
|
|
KK: three\[Return]
|
|
|
|
KK: \Ape
|
|
|
|
KK: four\[Return]
|
|
|
|
KK: five\[Return]
|
|
|
|
KK: \Apl
|
|
|
|
KK: l1 six\[Return]
|
|
|
|
KK: l2 seven\[Return]
|
|
|
|
KK: \Apd
|
|
|
|
KK: op1 eight\[Return]
|
|
|
|
KK: op2 nine\C\[Home]
|
|
|
|
KK: \Cs
|
|
|
|
KK: \CF
|
|
|
|
# Uncheck ignore format
|
|
|
|
KK: \At\Ai\Ah
|
|
|
|
KK: \Ape
|
|
|
|
KK: \Axregexp-mode\[Return][a-z]* \[Return]
|
|
|
|
TestEnd
|
|
|
|
Lang C
|
2017-05-07 11:45:48 +00:00
|
|
|
Assert pcregrep -M 'Putting selection at cur= inset: .* idx: 0 par: 3 pos: 0\n with len: 4' findadv-21.loga.txt
|
2017-04-27 11:11:21 +00:00
|
|
|
|
|
|
|
Lang sk_SK.utf8
|
2017-05-09 19:08:52 +00:00
|
|
|
TestBegin test.lyx -dbg key,find > findadv-21.logb.txt 2>&1
|
2017-04-27 11:11:21 +00:00
|
|
|
KK: \CF
|
|
|
|
# Uncheck ignore format
|
|
|
|
KK: \At\Ai\Ah
|
|
|
|
KK: \Apd
|
|
|
|
KK: \Axregexp-mode\[Return][a-z]*\\s+[a-z]* \[Return]\[Return]
|
|
|
|
TestEnd
|
|
|
|
Lang C
|
2017-05-07 11:45:48 +00:00
|
|
|
Assert pcregrep -M 'Putting selection at cur= inset: .* idx: 0 par: 7 pos: 3\n with len: 6' findadv-21.logb.txt
|