Skip to content

Commit 58bc10f

Browse files
committed
fixed deprecated ismatch
1 parent 9911393 commit 58bc10f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/benchmarking/runcompare.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ reports_dir = (length(ARGS) > 0 ? ARGS[1] : "examples/benchmarking")
33

44
isdir(reports_dir) || throw(error("Benchmark results folder $reports_dir not found"))
55

6-
bfiles = filter!(f->ismatch(r"^benchmark_runs_\d.+\.csv$", f), readdir(reports_dir))
6+
bfiles = filter!(f->occursin(r"^benchmark_runs_\d.+\.csv$", f), readdir(reports_dir))
77

88
isempty(bfiles) && throw(error("No benchmark runs found"))
99
bf = joinpath(reports_dir, bfiles[end])

0 commit comments

Comments
 (0)