The characters can't overlap each other.

Add a method in the character class.