mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
Update rsturtleitem.h
This commit is contained in:
parent
5d6225ab98
commit
9aa6dd3f64
@ -103,7 +103,13 @@ class RsTurtleRegExpSearchRequestItem: public RsTurtleSearchRequestItem
|
||||
|
||||
RsRegularExpression::LinearizedExpression expr ; // Reg Exp in linearised mode
|
||||
|
||||
std::string GetKeywords() { return expr.GetStrings(); }
|
||||
std::string GetKeywords()
|
||||
{
|
||||
RsRegularExpression::Expression *ex = RsRegularExpression::LinearizedExpression::toExpr(expr);
|
||||
std::string exs = ex->toStdString();
|
||||
delete ex;
|
||||
return exs;
|
||||
}
|
||||
|
||||
virtual RsTurtleSearchRequestItem *clone() const { return new RsTurtleRegExpSearchRequestItem(*this) ; }
|
||||
virtual void performLocalSearch(std::list<TurtleFileInfo>&) const ;
|
||||
|
Loading…
Reference in New Issue
Block a user