The language: {(anbm)r | n,m,r≥0} is not regular, because while the automaton/machine reads the first sequence of letters 'a' and then letters 'b', it needs to count the number of times it read the letter 'a' and the number of times it read the letter 'b' in the first sequence to know the value of n and m.
If r>1 then another same sequence of letters 'a' and letters 'b' is expected.
If the automaton/machine doesn't know how many letters 'a' and letters 'b' it read in the first sequence then it also doesn't know the value of n and m and thus it can't tell if the other sequences from second to last are words that equal to the first sequence.
But it's known that only Turing machine can count and know the values of n and m and recognize the language above, so not just that the language above isn't regular, but even it also isn't context free, i.e. also doesn't exist pushdown automaton to recognize this language and doesn't exist context free grammar that each word derived from that context free grammar is in the above language.
Because the fact that both deterministic finite automaton and pushdown finite automaton can't count and know the values of n and m, unlike Turing machine, they can't recognize the above language and thus the above language
isn't context free and isn't regular.
Counterexample to the assumption that the language above is regular:
For n=3 ∧ m=5 ∧ r=2, the following word is in the above language:
aaabbbbbaaabbbbb
But the following word isn't in the language:
aaabbbbbaaaaabbb, because does not exist n,m and r so:
(anbm)r=aaabbbbbaaaaabbb, because to satisfy the first sequence of letters 'a' and then letters 'b', must be true that n=3 ∧ m=5, and because that we see 2 sequences of letters 'a' and then letters 'b', then r=2, but if n=3 ∧ m=5 ∧ r=2 then (anbm)r = (a3b5)2 = (aaabbbbb)2 = aaabbbbbaaabbbbb ≠ aaabbbbbaaaaabbb, because their suffixes are different, i.e. aaabbbbb ≠ aaaaabbb, although their prefixes are equal to aaabbbbb for r=1.
The "best" deterministic finite automaton that can be built for this language is the deterministic finite automaton that recognizes the regular expression (a*b*)*, but it doesn't recognize the above language, because it tells that both the words aaabbbbbaaabbbbb and aaabbbbbaaaaabbb are in the language and this is not true, because aaabbbbbaaabbbbb is in the language, but aaabbbbbaaaaabbb isn't in the language.
Even pushdown finite automaton can't tell if both words are in the language or not, so only Turing machine can.
In the second sequence, the Turing machine found that n=5 ∧ m=3 and this contradicts that in the first sequence it found that n=3 ∧ m=5, so it tells that the second word isn't in the language, but no contradiction is found in the first word.
Both sequences satisfy that n=3 ∧ m=5, so the Turing machine says that the first word is in the language.
Only Turing machine can, if it counts and remembers the values of n and m by writing their value on it's tape and later read them.