Skip to content

Commit

Permalink
deleted unmatched closing ] in eachmatch docstring (#31028)
Browse files Browse the repository at this point in the history
  • Loading branch information
zsz00 authored and StefanKarpinski committed Feb 11, 2019
1 parent a1377ea commit 19a0f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/regex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ function iterate(itr::RegexMatchIterator, (offset,prevempty)=(1,false))
end

"""
eachmatch(r::Regex, s::AbstractString; overlap::Bool=false])
eachmatch(r::Regex, s::AbstractString; overlap::Bool=false)
Search for all matches of a the regular expression `r` in `s` and return a iterator over the
matches. If overlap is `true`, the matching sequences are allowed to overlap indices in the
Expand Down

0 comments on commit 19a0f71

Please sign in to comment.