I am trying to find all matches in a string with Regex
Regex.find Regex.All (Regex.regex "a*") "aabkdjfaab"
[{ match = "aa", submatches = [], index = 0, number = 1 }] : List Regex.Match
I would expect there be two matches
[{ match = "aa", submatches = [], index = 0, number = 1 }, { match == "aa", submatches = [], index = 9, number = 1 }] : List Regex.Match
however this works if I do
Regex.find Regex.All (Regex.regex "aa") "aabkdjfaab"
what am i missing?