Check for whitespaces before colon