1 # Avoiding recursive replacements when replaced text matches search pattern
6 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
10 KK: \Cm\\frac 1\[Down]a\[Return]\[Return]\[Return]
13 KK: buffer-export latex\[Return]
15 Assert pcregrep -M '^\$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ a' test.tex
17 TestBegin test2.lyx -dbg find > lyx-log.txt 2>&1
18 KK: \Cma \Cma \Cma \C\[Home]
21 KK: \Cm\\frac 1\[Down]a\[Return]\[Return]\[Return]
24 KK: buffer-export latex\[Return]
26 Assert pcregrep -M '^\$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ \$a\$' test2.tex