From c92c9057e1bcee0ee44e6a12c494913df57de782 Mon Sep 17 00:00:00 2001 From: Tommaso Cucinotta Date: Thu, 26 May 2011 13:44:44 +0000 Subject: [PATCH] Now advanced find and replace doesn't ignore white spaces while matching with ignore format. This fixes #7584. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38839 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/lyxfind.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index 158a2705ae..62b0b1c29a 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -791,8 +791,6 @@ MatchStringAdv::MatchStringAdv(lyx::Buffer & buf, FindAndReplaceOptions const & // Remove trailing closure of math, macros and environments, so to catch parts of them. do { LYXERR(Debug::FIND, "par_as_string now is '" << par_as_string << "'"); - if (regex_replace(par_as_string, par_as_string, "(.*)[[:blank:]]\\'", "$1")) - continue; if (regex_replace(par_as_string, par_as_string, "(.*[^\\\\]) ?\\$\\'", "$1")) continue; // @todo need to account for open square braces as well ? -- 2.39.5