Function findall and overlapping

you have to explicitly request it

julia> findall("DD","DDDAADDD", overlap=true)
4-element Vector{UnitRange{Int64}}:
 1:2
 2:3
 6:7
 7:8
1 Like