I have two complex (and maybe repeating) groups (ab) and (cd)
abcd is valid abababcdcdcd is valid
but: ababcd is invalid abcdcd is invalid
my idea is to