Skip to content

Commit

Permalink
Fix mistake in docstring of keys(::RegexMatch) (#48252)
Browse files Browse the repository at this point in the history
This method was added in 1.7.0 and is not available in any 1.6 release
  • Loading branch information
simsurace authored Jan 16, 2023
1 parent 1bfdf98 commit 12c3b1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/regex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ That is, `idx` will be in the return value even if `m[idx] == nothing`.
Unnamed capture groups will have integer keys corresponding to their index.
Named capture groups will have string keys.
!!! compat "Julia 1.6"
This method was added in Julia 1.6
!!! compat "Julia 1.7"
This method was added in Julia 1.7
# Examples
```jldoctest
Expand Down

0 comments on commit 12c3b1c

Please sign in to comment.