|XP is just a number|
There are no gaps between the repeats, so the uncaptured .* is not required (actually mustn't be there).
And if the second rep is incomplete \1 will never match before $.
I've been trying variations on
With the idea that any partial rep at the end can be verified again the beginning of the full rep, but it needs to happen inside the regex and cause backtracking.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In reply to Re^4: Finding repeat sequences. (only mostly regex)