On 01.03.2011 12:40, Joost Verburg wrote:
Hi all,

On Windows with current trunk I'm getting a crash when clicking the Search
button in the Citation dialog. Not sure what's going on.
GuiApplication::notify reports a "regular expression error" which is strange
because the error occurs in the mouse event handling.

Any ideas?

GuiCitation.cpp
static docstring escape_special_chars(docstring const & expr)
{
        // Search for all chars '.|*?+(){}[^$]\'
        // Note that '[' and '\' must be escaped.
        // This is a limitation of lyx::regex, but all other chars in BREs
        // are assumed literal.
        static const lyx::regex reg("[].|*?+(){}^$\\[\\\\]");


It doesn't like the regex reg("[].|*?+(){}^$\\[\\\\]");

What could be wrong with this regex?

Peter

Reply via email to