|
a/src/rcldb/synfamily.cpp |
|
b/src/rcldb/synfamily.cpp |
|
... |
|
... |
220 |
xit1 != m_family.getdb().synonyms_end(*xit); xit1++) {
|
220 |
xit1 != m_family.getdb().synonyms_end(*xit); xit1++) {
|
221 |
string term = *xit1;
|
221 |
string term = *xit1;
|
222 |
if (filter_exp.isNotNull()) {
|
222 |
if (filter_exp.isNotNull()) {
|
223 |
string term1 = (*filtertrans)(term);
|
223 |
string term1 = (*filtertrans)(term);
|
224 |
LOGDEB2((" Testing [%s] against [%s]\n",
|
224 |
LOGDEB2((" Testing [%s] against [%s]\n",
|
225 |
term1.c_str(), filter_exp.c_str()));
|
225 |
term1.c_str(), filter_exp->exp().c_str()));
|
226 |
if (!filter_exp->match(term1)) {
|
226 |
if (!filter_exp->match(term1)) {
|
227 |
continue;
|
227 |
continue;
|
228 |
}
|
228 |
}
|
229 |
}
|
229 |
}
|
230 |
LOGDEB2(("XapCompSynFam::keyWildExpand: [%s]\n",
|
230 |
LOGDEB2(("XapCompSynFam::keyWildExpand: [%s]\n",
|
|
... |
|
... |
234 |
// Same with key itself
|
234 |
// Same with key itself
|
235 |
string term = (*xit).substr(preflen);
|
235 |
string term = (*xit).substr(preflen);
|
236 |
if (filter_exp.isNotNull()) {
|
236 |
if (filter_exp.isNotNull()) {
|
237 |
string term1 = (*filtertrans)(term);
|
237 |
string term1 = (*filtertrans)(term);
|
238 |
LOGDEB2((" Testing [%s] against [%s]\n",
|
238 |
LOGDEB2((" Testing [%s] against [%s]\n",
|
239 |
term1.c_str(), filter_exp->exp().c_str()));
|
239 |
term1.c_str(), filter_exp->exp().c_str()));
|
240 |
if (!filter_exp->match(term1)) {
|
240 |
if (!filter_exp->match(term1)) {
|
241 |
continue;
|
241 |
continue;
|
242 |
}
|
242 |
}
|
243 |
}
|
243 |
}
|
244 |
LOGDEB2(("XapCompSynFam::keyWildExpand: [%s]\n", term.c_str()));
|
244 |
LOGDEB2(("XapCompSynFam::keyWildExpand: [%s]\n", term.c_str()));
|