mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Added test-case for regular expressions using "\" for backwards references (e.g., \1).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39018 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f67834bb22
commit
3a603d760a
10
development/autotests/findadv-19-in.txt
Normal file
10
development/autotests/findadv-19-in.txt
Normal file
@ -0,0 +1,10 @@
|
||||
# Check that searching for regexp "([a-z]+)\s\1" finds duplicate words.
|
||||
|
||||
Lang it_IT.utf8
|
||||
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
|
||||
KK: Hello world world!\C\[Home]
|
||||
KK: \Cs
|
||||
KK: \CF
|
||||
KK: \Axregexp-mode\[Return]([a-z]+)\\s\\1\[Return]
|
||||
TestEnd
|
||||
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 6\n with len: 11' lyx-log.txt
|
Loading…
Reference in New Issue
Block a user