Check whitespaces using walker instead of regexp.