From 00e64af03354df4493a8481c285873e0371f0113 Mon Sep 17 00:00:00 2001 From: Luke Morris <70283489+lukem12345@users.noreply.github.com> Date: Fri, 12 Jul 2024 16:04:03 -0400 Subject: [PATCH] Explicitly match the period char --- test/benchmarks/clean.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/benchmarks/clean.jl b/test/benchmarks/clean.jl index 29da1d6f..a6940ed0 100644 --- a/test/benchmarks/clean.jl +++ b/test/benchmarks/clean.jl @@ -1,5 +1,5 @@ # TODO: Can improve by seperating bench and final logs -file_regex = r"^.*log_(\d+)(?:_\d+)?.txt$" +file_regex = r"^.*log_(\d+)(?:_\d+)?\.txt$" file_matches = filter(!isnothing, map(x -> match(file_regex, x), readdir(".")))