mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-08 18:19:42 +00:00
fix warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5619 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
87bcc2eb1c
commit
2c3c30c8f2
@ -1,3 +1,7 @@
|
|||||||
|
2002-11-12 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
|
* biblio.C: fix warnings
|
||||||
|
|
||||||
2002-11-12 Angus Leeming <leeming@lyx.org>
|
2002-11-12 Angus Leeming <leeming@lyx.org>
|
||||||
|
|
||||||
* ControlSpellchecker.C (check): fix crash
|
* ControlSpellchecker.C (check): fix crash
|
||||||
|
@ -239,11 +239,11 @@ string const getInfo(InfoMap const & map, string const & key)
|
|||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
// Escape special chars.
|
// 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
|
// These characters are literals when preceded by a "\", which is done here
|
||||||
string const escape_special_chars(string const & expr)
|
string const escape_special_chars(string const & expr)
|
||||||
{
|
{
|
||||||
// Search for all chars .|*?+(){}[^$]\
|
// Search for all chars '.|*?+(){}[^$]\'
|
||||||
// Note that '[', ']' and '\' must be escaped.
|
// Note that '[', ']' and '\' must be escaped.
|
||||||
// This is a limitation of boost::regex, but all other chars in BREs
|
// This is a limitation of boost::regex, but all other chars in BREs
|
||||||
// are assumed literal.
|
// are assumed literal.
|
||||||
|
Loading…
Reference in New Issue
Block a user