- ::getFilterExpression expands /pattern/ to description ~ pattern
This commit is contained in:
Paul Beckingham
2014-04-26 13:53:12 -07:00
parent db0f147b72
commit c1d02a7730

View File

@@ -575,11 +575,10 @@ const std::string A3t::getFilterExpression () const
} }
else if ((*i)->hasTag ("PATTERN")) else if ((*i)->hasTag ("PATTERN"))
{ {
// TODO /pattern/ --> description ~ pattern
if (filter != "") if (filter != "")
filter += ' '; filter += ' ';
filter += "<pattern>"; filter += "description ~ " + (*i)->attribute ("pattern");
} }
else else
{ {