Make these CHECKs a bit more strict.

The " at the end of the line makes sure we matched the entire directive.