code: def _match_str(A_list, B_list):
      """Locate where in a list matches another."""
      B_inds = list()
      for ii in A_list:
          if ii in B_list:
              B_inds.append(B_list.index(ii))
      return B_inds
  
file_path: mne-python/mne/io/fil/tests/test_fil.py
imports: import shutil
  from os import remove
  import pytest
  import scipy.io
  from numpy import array, empty, isnan
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from mne import pick_types
  from mne.datasets import testing
  from mne.io import read_raw_fil
  from mne.io.fil.sensors import _get_pos_units
label_desc: Use image node_id 2 for calling a global function with example usage: _match_str(A_list, B_list) and returns: B_inds