Skip to content

Commit

Permalink
Add compat information in docstring of AbstractPattern. (#45264)
Browse files Browse the repository at this point in the history
Cf #38108.
  • Loading branch information
tpapp authored May 11, 2022
1 parent e770f3c commit 8563e73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/regex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8563e73

Please sign in to comment.