Regression test for #7442.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38384 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Tommaso Cucinotta 2011-04-14 22:21:18 +00:00
parent bfc98a4faa
commit 23258f5399

View File

@ -0,0 +1,12 @@
# Replacing the last buffer element with some math that matches
# again the search pattern, should not result in a double replacement
# (#7442)
#
Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: a\C\[Home]
KK: \CF
KK: a\[Tab]
KK: \Cm\\bar a\[Return]\[Return]
TestEnd
Assert ! pcregrep -M 'against.*bar' lyx-log.txt