From c91554504008e6f2958c5bf0f39e334615a84928 Mon Sep 17 00:00:00 2001 From: Martin Holters Date: Fri, 4 Oct 2019 22:56:40 +0200 Subject: [PATCH] Drop compat code for `contains` from #452 --- src/Compat.jl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Compat.jl b/src/Compat.jl index bb416823a..392c8afee 100644 --- a/src/Compat.jl +++ b/src/Compat.jl @@ -70,11 +70,6 @@ end end end -# 0.7.0-DEV.3272, keep this definition for 0.6 compatibility -@static if VERSION < v"0.7.0-DEV.3272" - Base.contains(str::AbstractString, r::Regex) = ismatch(r, str) -end - @static if VERSION < v"0.7.0-DEV.3025" import Base: convert, ndims, getindex, size, length, eltype, start, next, done, first, last, in, tail