Could someone help me understand why there is only 1 match of "aa" in the string "aaa", and only 2 matches in the string "aaaa"? It seems regex