Change-Id: I404ca74041e962127d0330837c5771c6a6462379
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
if (dir_entry.path().string().find("smoke") != std::string::npos &&
bf::is_directory(dir_entry)) {
std::string package = dir_entry.path().filename().string();
if (dir_entry.path().string().find("smoke") != std::string::npos &&
bf::is_directory(dir_entry)) {
std::string package = dir_entry.path().filename().string();
- std::regex pkg_regex("smoke[a-zA-Z]{3,}[1-9]{2,}");
+ std::regex pkg_regex("smoke[a-zA-Z0-9]{5,}");
if (std::regex_match(package, pkg_regex)) {
if (Uninstall(dir_entry.path().filename().string(), PackageType::WGT,
is_preload, RequestResult::NORMAL) !=
if (std::regex_match(package, pkg_regex)) {
if (Uninstall(dir_entry.path().filename().string(), PackageType::WGT,
is_preload, RequestResult::NORMAL) !=