mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
dcf0eb944e
script (if any) also when LyX is not installed on your system (using a variant of the trick suggested by Enrico, i.e., create a symlink locale from the LyX sources root to an autotests/locale folder). At least, it does on Linux. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37589 a592a061-630c-0410-9148-cb99ea01b6c8
27 lines
765 B
Plaintext
27 lines
765 B
Plaintext
# Basic test for searching with regular expressions
|
|
|
|
Lang it_IT.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: \Cs
|
|
KK: \CF
|
|
KK: o\CR.* a\[Return]
|
|
TestEnd
|
|
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8' lyx-log.txt
|
|
|
|
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
|
|
KK: \CF
|
|
KK: o\CR[[:word:]]* a
|
|
KD: 200
|
|
KK: \Al\Ar\[Return]
|
|
KD: 100
|
|
TestEnd
|
|
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6' lyx-log.txt
|
|
|
|
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
|
|
KK: \CF
|
|
KK: \CR.* \Al\Ar\[Return]\[Return]\[Return]
|
|
TestEnd
|
|
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3' lyx-log.txt
|