code: def _search_vals(self, compiled_pattern, fld_val):
          
          matches = []
          if isinstance(fld_val, set):
              for val in fld_val:
                  self._search_val(matches, compiled_pattern, val)
          elif isinstance(fld_val, str):
              self._search_val(matches, compiled_pattern, fld_val)
          return matches
docs: Search for user-regex in scalar or iterable data values.