Make sure that no character class can match a '/'.