Filtrar agentes com inicio ATEND -

This commit is contained in:
2025-12-22 14:44:37 -03:00
parent 554c4b25bd
commit cdfc9fc5e7
2 changed files with 2 additions and 2 deletions

View File

@@ -265,7 +265,7 @@ fn main() {
// filename example is: CC - Erraoander Quintana - 515578 - 20251020515578.csv // filename example is: CC - Erraoander Quintana - 515578 - 20251020515578.csv
// id talk is the last information, so in the example is: 20251020515578 // id talk is the last information, so in the example is: 20251020515578
let regex_filename = let regex_filename =
regex::Regex::new(r"(CC - )((\w+\s*)+) - (\d+) - (\d+).csv").unwrap(); regex::Regex::new(r"(CC - |ATEND - )((\w+\s*)+) - (\d+) - (\d+).csv").unwrap();
let filename = file_path_csv let filename = file_path_csv
.file_name() .file_name()

View File

@@ -259,7 +259,7 @@ fn main() {
// filename example is: CC - Erraoander Quintana - 515578 - 20251020515578.csv // filename example is: CC - Erraoander Quintana - 515578 - 20251020515578.csv
// id talk is the last information, so in the example is: 20251020515578 // id talk is the last information, so in the example is: 20251020515578
let regex_filename = let regex_filename =
regex::Regex::new(r"(CC - )((\w+\s*)+) - (\d+) - (\d+).csv").unwrap(); regex::Regex::new(r"(CC - |ATEND - )((\w+\s*)+) - (\d+) - (\d+).csv").unwrap();
let filename = file_path_csv let filename = file_path_csv
.file_name() .file_name()