Avoid \] which crashes windows regex
This commit is contained in:
parent
1d96034869
commit
868643d3a2
@ -148,7 +148,7 @@ void ResListPager::resultPageFor(int docnum)
|
||||
m_respage = npage;
|
||||
}
|
||||
|
||||
static const SimpleRegexp pagenumre("(^ *\\[[pP]\\.* [0-9]+\\])", 0);
|
||||
static const SimpleRegexp pagenumre("(^ *\\[[pP]\\.* [0-9]+])", 0);
|
||||
|
||||
void ResListPager::displayDoc(RclConfig *config, int i, Rcl::Doc& doc,
|
||||
const HighlightData& hdata, const string& sh)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user