mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-29 15:26:05 +00:00
0ed7f301ea
The command pcregrep failed trying to set locales to not installed language pack.
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
# Basic test for searching with regular expressions
|
|
|
|
Lang sk_SK.utf8
|
|
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
|
|
KK: Nel mezzo del cammin di nostra vita\[Return]
|
|
KK: mi ritrovai per una selva oscura\C\[Home]
|
|
KK: \Axbuffer-write\[Return]
|
|
KK: \Axdialog-show findreplaceadv\[Return]
|
|
KK: o\Axregexp-mode\[Return].* a\[Return]
|
|
TestEnd
|
|
Lang C
|
|
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8' lyx-log.txt
|
|
|
|
Lang sk_SK.utf8
|
|
TestBegin test.lyx -dbg find > lyx-log2.txt 2>&1
|
|
KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
|
|
KK: o\Axregexp-mode\[Return][[:word:]]* a
|
|
KK: \Ac\Aj
|
|
KD: 500
|
|
KK: \[Return]
|
|
KD: 100
|
|
TestEnd
|
|
Lang C
|
|
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6' lyx-log2.txt
|
|
|
|
Lang sk_SK.utf8
|
|
TestBegin test.lyx -dbg find > lyx-log3.txt 2>&1
|
|
KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
|
|
KK: \Axregexp-mode\[Return].* \Ac\Aj\[Return]\[Return]\[Return]
|
|
TestEnd
|
|
Lang C
|
|
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3' lyx-log3.txt
|