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
This commit is contained in:
Tommaso Cucinotta 2011-06-12 01:25:26 +00:00
parent 3a603d760a
commit e607cbfbca
2 changed files with 3 additions and 7 deletions

View File

@ -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

View File

@ -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