From 9824926b4c2b3f9f1c08e8a27e1a904d602759bb Mon Sep 17 00:00:00 2001 From: Tommaso Cucinotta Date: Sun, 16 Apr 2017 23:43:56 +0200 Subject: [PATCH] findadv: using \w instead of [[:word:]] makes test-case std::regex compatible; also, fixed UI shortcuts changes that made test fail. --- development/autotests/findadv-08-in.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/development/autotests/findadv-08-in.txt b/development/autotests/findadv-08-in.txt index a30a38809f..c77ddd4a6a 100644 --- a/development/autotests/findadv-08-in.txt +++ b/development/autotests/findadv-08-in.txt @@ -14,10 +14,10 @@ Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8' l Lang sk_SK.utf8 TestBegin test.lyx -dbg find > lyx-log2.txt 2>&1 KK: \C\[Home]\Axdialog-show findreplaceadv\[Return] -KK: o\Axregexp-mode\[Return][[:word:]]* a -KK: \Ac\Aj +KK: o\Axregexp-mode\[Return][\\w]* a +KK: \Ac\Ac KD: 500 -KK: \[Return] +KK: \Al KD: 100 TestEnd Lang C @@ -26,7 +26,7 @@ Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6' Lang sk_SK.utf8 TestBegin test.lyx -dbg find > lyx-log3.txt 2>&1 KK: \C\[Home]\Axdialog-show findreplaceadv\[Return] -KK: \Axregexp-mode\[Return].* \Ac\Aj\[Return]\[Return]\[Return] +KK: \Axregexp-mode\[Return].* \Ac\Ac\Al\Al\Al TestEnd Lang C Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3' lyx-log3.txt -- 2.39.2