Ah, I see what you mean. The challenge guarantees ...
# advent-of-code
k
Ah, I see what you mean. The challenge guarantees that though:
In a futile attempt to clean up the garbage, some program has canceled some of the characters within it using !: inside garbage, any character that comes after ! should be ignored, including <, >, and even another !.
and
Outside garbage, you only find well-formed groups, and garbage always terminates according to the rules above.