if (text.empty())
return false;
- std::regex re(keyword, std::regex::icase);
+ std::regex re(_keyword, std::regex::icase);
if (std::regex_search(text, re)) {
- LOGD("Found [%s]", keyword.c_str());
+ LOGD("Found [%s]", _keyword.c_str());
return true;
}