message: Swig deprecation - Use regex filter in def_file_filter to better match symbols.
diff: @@ -121,11 +121,14 @@ def get_symbols(path_to_lib, re_filter):
  sym_filtered = []
  re_filter_comp = re.compile(r"{}".format(re_filter))
  + # Filter out symbol from the split line (`sym_split` in the for loop below).
  + # Sample line:
  + # " | ?NewProfiler@tfprof@tensorflow@@YA_NPEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z (bool __cdecl tensorflow::tfprof::NewProfiler(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const *))"
  + sym_line_filter = r"\s+\| (.*) \(.* __cdecl.*"
  +
  for sym_line in sym_split:
  if re_filter_comp.search(sym_line):
  - # Spliting each symbol line by ` ` returns below (fifth element = symbol):
  - # ["", "", "|", "", "?IsSequence@swig@tensorflow@@YA_NPEAU_object@@@Z", ...]
  - sym = sym_line.split(" ")[5]
  + sym = re.match(sym_line_filter, sym_line).groups()[0]
  sym_filtered.append(sym)
  return sym_filtered
  