added functionality to email text and ocr scenes

This commit is contained in:
2025-03-11 23:31:08 +03:00
parent 4c7a25c53e
commit 1ae724f925
20 changed files with 679 additions and 348 deletions

View File

@@ -31,7 +31,7 @@ StoreModule::StoreModule(std::string path) {
std::vector<std::string> StoreModule::parse_name(std::wstring str) {
std::vector<std::string> result;
std::wregex r(this->goods_name_regex, std::regex::collate);
std::wregex r(this->goods_name_regex, std::regex_constants::multiline);
for (std::wsregex_iterator it{str.begin(), str.end(), r}, end{}; it != end;
it++) {