The question I'm working from is:
Prove whether or not a finite automation exists that recognises the following language:
B = {ww | w ∈ {a,b,c,...,z)*}
EDIT
So I believe this is a non-regular language. My understanding of pumping lemma is not great but this was my solution:
S = apbapb
Where S is a valid string in the language and p is the pumping length.
S = aaaabaaaab for example when p = 4
S = xyz // s can be split into xyz components
| x y | <= p
SO y must be all a's before the first b e.g. a | aaa | baaaab
xy2z = aaaaaaabaaaab
xy2z is not in B
Therefore B is not regular
Apparently though this is wrong, please could someone explain why / how to obtain the right answer?