diff --git a/src/StringViews.jl b/src/StringViews.jl index 57d9e08..e95fd7c 100644 --- a/src/StringViews.jl +++ b/src/StringViews.jl @@ -10,6 +10,10 @@ a `StringView` is intended to be usable in any context where you might have otherwise used `String`. """ module StringViews + +# no longer needed after https://github.com/JuliaLang/julia/pull/60526 +if !isdefined(Base, :StringView) + export StringView, SVRegexMatch """ @@ -141,4 +145,6 @@ include("parse.jl") include("util.jl") include("search.jl") +end + end # module