can you elaborate more please?
I cannot understand you.
Because following your steps, the short string wouldn't match.
Trying the leftmost part 2 times means ATCGTT = (\w\w\w)*? ok? 2 times.
But how it is possible that it matches on CGTTGA, i cannot understand.