Mark the strings for the metadata and label commands as used.
parent
bd55638624
commit
f514bc4a53
|
@ -293,8 +293,8 @@ public:
|
||||||
std::string key = boost::to_lower_copy(keys[i]);
|
std::string key = boost::to_lower_copy(keys[i]);
|
||||||
key.erase(std::remove_if(key.begin(), key.end(), ::isspace), key.end());
|
key.erase(std::remove_if(key.begin(), key.end(), ::isspace), key.end());
|
||||||
|
|
||||||
if ((boost::starts_with(key, "tag('") && boost::ends_with(key, "')")) ||
|
if ((boost::starts_with(key, "metadata['") && boost::ends_with(key, "']")) ||
|
||||||
(boost::starts_with(key, "text(") && boost::ends_with(key, ")")))
|
(boost::starts_with(key, "label[") && boost::ends_with(key, "]")))
|
||||||
props.markQueried(keys[i]);
|
props.markQueried(keys[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -187,8 +187,8 @@ public:
|
||||||
std::string key = boost::to_lower_copy(keys[i]);
|
std::string key = boost::to_lower_copy(keys[i]);
|
||||||
key.erase(std::remove_if(key.begin(), key.end(), ::isspace), key.end());
|
key.erase(std::remove_if(key.begin(), key.end(), ::isspace), key.end());
|
||||||
|
|
||||||
if ((boost::starts_with(key, "tag('") && boost::ends_with(key, "')")) ||
|
if ((boost::starts_with(key, "metadata['") && boost::ends_with(key, "']")) ||
|
||||||
(boost::starts_with(key, "text(") && boost::ends_with(key, ")")))
|
(boost::starts_with(key, "label[") && boost::ends_with(key, "]")))
|
||||||
props.markQueried(keys[i]);
|
props.markQueried(keys[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue