def _find_family_class(dev):
        """! @brief Search the families list for matching entry."""
        for familyInfo in FAMILIES:
            # Skip if wrong vendor.
            if dev.vendor != familyInfo.vendor:
                continue

            # Scan each level of families
            for familyName in dev.families:
                for regex in familyInfo.matches:
                    # Require the regex to match the entire family name.
                    match = regex.match(familyName)
                    if match and match.span() == (0, len(familyName)):
                        return familyInfo.klass
        else:
            # Default target superclass.
            return CoreSightTarget
! @brief Search the families list for matching entry.