Check for both slash formats