Make sure each position in the code can only be matched once