casual-spelling: remove unnecessary for-loop test in pattern matcher