From e607cbfbca6372d6e808c93a25fd6f1d9bdbdf2f Mon Sep 17 00:00:00 2001 From: Tommaso Cucinotta Date: Sun, 12 Jun 2011 01:25:26 +0000 Subject: [PATCH] Updated UserGuide after removal of macro insertion while in regexp mode. Fixed regression case (now typing twice "\" leads to "\\", i.e., the regexp matching the backslash char). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39019 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/autotests/findadv-18-in.txt | 2 +- lib/doc/UserGuide.lyx | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/development/autotests/findadv-18-in.txt b/development/autotests/findadv-18-in.txt index 15b998de03..31d935b2a4 100644 --- a/development/autotests/findadv-18-in.txt +++ b/development/autotests/findadv-18-in.txt @@ -5,6 +5,6 @@ TestBegin test.lyx -dbg find > lyx-log.txt 2>&1 KK: a b c\C\[Home] KK: \Cs KK: \CF -KK: \Axregexp-mode\[Return]\\\\s\[Return] +KK: \Axregexp-mode\[Return]\\s\[Return] TestEnd Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 1\n with len: 1' lyx-log.txt diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx index dded19bbd9..a6ccd87c76 100644 --- a/lib/doc/UserGuide.lyx +++ b/lib/doc/UserGuide.lyx @@ -1,4 +1,4 @@ -#LyX 2.0 created this file. For more info see http://www.lyx.org/ +#LyX 2.1 created this file. For more info see http://www.lyx.org/ \lyxformat 413 \begin_document \begin_header @@ -30250,11 +30250,7 @@ Finally, references to (sub)expressions in regexp may be used as usual, \begin_inset Formula $\backslash2$ \end_inset -, etc., where a -\begin_inset Formula $\backslash$ -\end_inset - - symbol is entered in regexp mode by pressing twice the backslash key. +, etc.. For example, try searching for the regexp \begin_inset Formula $([a-z]+)[[:blank:]]\backslash1$ \end_inset