def _get_name_filters(cls, filters):
        """Return a regex filter for the UID column only."""
        filters = filters.get(cls.__uid_field__)
        if not filters:
            filters = '.*'
        elif not isinstance(filters, string_types):
            filters = r'(%s)' % ('|'.join(filters))
        return filters
Return a regex filter for the UID column only.