diff --git a/base/regex.jl b/base/regex.jl index 6433eab40006d..b7e1909ece21e 100644 --- a/base/regex.jl +++ b/base/regex.jl @@ -11,6 +11,9 @@ const DEFAULT_MATCH_OPTS = PCRE.NO_UTF_CHECK An abstract type representing any sort of pattern matching expression (typically a regular expression). `AbstractPattern` objects can be used to match strings with [`match`](@ref). + +!!! compat "Julia 1.6" + This type is available in Julia 1.6 and later. """ abstract type AbstractPattern end