@@ -144,7 +144,7 @@ But `keys(a)`, `values(a)` and `pairs(a)` all iterate `a`
144144and return the elements in the same order.
145145
146146# Examples
147- ```jldoctest
147+ ```jldoctest; filter = r"^ \\ s+ \\ S+ \\ s+=> \\ s+ \\ d \$ "m
148148julia> a = Dict(zip(["a", "b", "c"], [1, 2, 3]))
149149Dict{String, Int64} with 3 entries:
150150 "c" => 3
@@ -207,7 +207,7 @@ Update collection with pairs from the other collections.
207207See also [`merge`](@ref).
208208
209209# Examples
210- ```jldoctest
210+ ```jldoctest; filter = r"^ \\ s+ \\ S+ \\ s+=> \\ s+ \\ d \$ "m
211211julia> d1 = Dict(1 => 2, 3 => 4);
212212
213213julia> d2 = Dict(1 => 4, 4 => 5);
@@ -251,7 +251,7 @@ compatibility.
251251 `mergewith!` requires Julia 1.5 or later.
252252
253253# Examples
254- ```jldoctest
254+ ```jldoctest; filter = r"^ \\ s+ \\ S+ \\ s+=> \\ s+ \\ d \$ "m
255255julia> d1 = Dict(1 => 2, 3 => 4);
256256
257257julia> d2 = Dict(1 => 4, 4 => 5);
@@ -425,7 +425,7 @@ Update `d`, removing elements for which `f` is `false`.
425425The function `f` is passed `key=>value` pairs.
426426
427427# Examples
428- ```jldoctest
428+ ```jldoctest; filter = r"^ \\ s+ \\ d \\ s+=> \\ s+ \\ S+ \$ "m
429429julia> d = Dict(1=>"a", 2=>"b", 3=>"c")
430430Dict{Int64, String} with 3 entries:
431431 2 => "b"
@@ -467,7 +467,7 @@ Return a copy of `d`, removing elements for which `f` is `false`.
467467The function `f` is passed `key=>value` pairs.
468468
469469# Examples
470- ```jldoctest
470+ ```jldoctest; filter = r"^ \\ s+ \\ d \\ s+=> \\ s+ \\ S+ \$ "m
471471julia> d = Dict(1=>"a", 2=>"b")
472472Dict{Int64, String} with 2 entries:
473473 2 => "b"
@@ -660,7 +660,7 @@ of `dict` then it will be converted to the value type if possible and otherwise
660660 `map!(f, values(dict::AbstractDict))` requires Julia 1.2 or later.
661661
662662# Examples
663- ```jldoctest
663+ ```jldoctest; filter = r"^ \\ s+ \\ S+( \\ s+=> \\ s+ \\ d)? \$ "m
664664julia> d = Dict(:a => 1, :b => 2)
665665Dict{Symbol, Int64} with 2 entries:
666666 :a => 1
0 commit comments