Only create the controller closure if there's precisely one colon in the string.