I study Regex from last 5 days and still don't get it. It seems Regex is not possible to understand.
If (\w) mean every alphanumeric character in groups, \1 mean group number 1 and {4,} mean match it 4 or more times, how Regex (\w)\1{4,} in string "aa bbbb abcdefg ccccc 111121111 999999999" match to "ccccc"? Can someone explain me it? For me with (\w)\1 the answer should be just second "a". Cant find the answer anywhere.