Skip to content

Commit

Permalink
Explicitly match the period char
Browse files Browse the repository at this point in the history
  • Loading branch information
lukem12345 authored Jul 12, 2024
1 parent 0f200ff commit 00e64af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/benchmarks/clean.jl
Original file line number Diff line number Diff line change
@@ -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(".")))

Expand Down

0 comments on commit 00e64af

Please sign in to comment.