Skip to content

Commit

Permalink
fix typo in string search api docs (#30600)
Browse files Browse the repository at this point in the history
(cherry picked from commit a25945a)
  • Loading branch information
ashleysommer authored and KristofferC committed Feb 11, 2019
1 parent b087c5c commit 93f8202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/strings/search.jl
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ findnext(t::AbstractString, s::AbstractString, i::Integer) = _search(s, t, i)
findlast(pattern::AbstractString, string::AbstractString)
Find the last occurrence of `pattern` in `string`. Equivalent to
[`findlast(pattern, string, lastindex(s))`](@ref).
[`findprev(pattern, string, lastindex(string))`](@ref).
# Examples
```jldoctest
Expand Down

0 comments on commit 93f8202

Please sign in to comment.