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.