lyx_mirror/development/autotests/findadv-re-06-in.txt
Tommaso Cucinotta 712e1871ca Added regression test for simple use-case documented in Advanced F&R manual.
findadv-re-05 with ignore format fails, whilst findadv-re-06 not ignoring format succeeds, as of now.
2013-04-29 00:48:43 +01:00

12 lines
396 B
Plaintext

# Finding regexps within \frac{}
Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \Cm\\frac 1-x\[Down]1+x^2 \C\[Home]
KK: \CF
# Uncheck ignore format (depends on IT language)
KK: \Az\Ag\Ae
KK: \Cm\\frac \Axregexp-mode\[Return].* \[Down]1+x^2 \[Return]
TestEnd
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n .*idx: 0 par: 0 pos: 0\n with len: 1' lyx-log.txt