From cdfc9fc5e70779283463a44cd3ee54ad25eabe2a Mon Sep 17 00:00:00 2001 From: "nicolas.borges" Date: Mon, 22 Dec 2025 14:44:37 -0300 Subject: [PATCH] Filtrar agentes com inicio ATEND - --- src/groupped_repport_monthly.rs | 2 +- src/groupped_repport_weekly.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/groupped_repport_monthly.rs b/src/groupped_repport_monthly.rs index 58a01a9..42c9751 100644 --- a/src/groupped_repport_monthly.rs +++ b/src/groupped_repport_monthly.rs @@ -265,7 +265,7 @@ fn main() { // filename example is: CC - Erraoander Quintana - 515578 - 20251020515578.csv // id talk is the last information, so in the example is: 20251020515578 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 .file_name() diff --git a/src/groupped_repport_weekly.rs b/src/groupped_repport_weekly.rs index cffe22b..cf7ffda 100644 --- a/src/groupped_repport_weekly.rs +++ b/src/groupped_repport_weekly.rs @@ -259,7 +259,7 @@ fn main() { // filename example is: CC - Erraoander Quintana - 515578 - 20251020515578.csv // id talk is the last information, so in the example is: 20251020515578 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 .file_name()