forked from jelson.rodrigues/piperun-bot
Filtrar agentes com inicio ATEND -
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user