From 2c3c30c8f2f1b45cde2956a220c64cb31e96118e Mon Sep 17 00:00:00 2001 From: John Levon Date: Tue, 12 Nov 2002 23:50:56 +0000 Subject: [PATCH] fix warnings git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5619 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/controllers/ChangeLog | 4 ++++ src/frontends/controllers/biblio.C | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/frontends/controllers/ChangeLog b/src/frontends/controllers/ChangeLog index 8d99afc6ad..cc48a7d120 100644 --- a/src/frontends/controllers/ChangeLog +++ b/src/frontends/controllers/ChangeLog @@ -1,3 +1,7 @@ +2002-11-12 John Levon + + * biblio.C: fix warnings + 2002-11-12 Angus Leeming * ControlSpellchecker.C (check): fix crash diff --git a/src/frontends/controllers/biblio.C b/src/frontends/controllers/biblio.C index f4d978cc88..edbae55c0e 100644 --- a/src/frontends/controllers/biblio.C +++ b/src/frontends/controllers/biblio.C @@ -239,11 +239,11 @@ string const getInfo(InfoMap const & map, string const & key) namespace { // Escape special chars. -// All characters are literals except: .|*?+(){}[]^$\ +// All characters are literals except: '.|*?+(){}[]^$\' // These characters are literals when preceded by a "\", which is done here string const escape_special_chars(string const & expr) { - // Search for all chars .|*?+(){}[^$]\ + // Search for all chars '.|*?+(){}[^$]\' // Note that '[', ']' and '\' must be escaped. // This is a limitation of boost::regex, but all other chars in BREs // are assumed literal. -- 2.39.2