Allow #%top to be matched