matchall(r::Regex, s::AbstractString[, overlap::Bool=false]) -> Vector{AbstractString}

Return a vector of the matching substrings from eachmatch.


``` julia> matchall(r"\s[a-z]+", "α is a Grëék letter") 3-element Array{SubString{UTF8String},1}: " is"
" a"
" letter"

julia> matchall(r"[a-z]", "is a letter") 9-element Array{SubString{UTF8String},1}: "i" "s" "a" "l" "e" "t" "t" "e" "r"

See Also

eachmatch, ismatch, match, matchall,

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field

Checking you are not a robot: