Skip to content

Commit 55c891c

Browse files
committed
ismatch -> occursin
Sometimes, my old Julia days shine through
1 parent e1d7cdb commit 55c891c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auditor/dynamic_linkage.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ function valid_library_path(f::AbstractString, p::Platform)
256256
elseif Sys.isapple(p)
257257
return endswith(f, ".dylib")
258258
else
259-
return ismatch(r".*.so(\.[\d]+)*", f)
259+
return occursin(r".*.so(\.[\d]+)*", f)
260260
end
261261
end
262262

0 commit comments

Comments
 (0)