code: def _search_val(matches, compiled_pattern, fld_val):
          
          mtch = compiled_pattern.search(fld_val)
          if mtch:
              matches.append(fld_val)
docs: Search for user-regex in scalar data values.