title: filter a dataframe based on partial string values that also have special characters
body: <p>I am trying to filter a dataframe based partial strings in the dataframe column that would match with the list of values i have in a list.</p>
  <p>The issue is that some of the matching strings have special characters in them,
  Eg:</p>
  <pre><code>=OEAKPOB|2OEAQPYA0402343|@@EAY632|@@EAY6XF3260| LD93684589|4+EB484K|4+EB481W|4*EBEWRX||=OEAKQJW|VNEAKX74
  </code></pre>
  <p>and when i try</p>
  <pre><code>pat = '|'.join(criteria_filter['ID'])
  df_B = detfile_df[detfile_df['ID'].str.contains(pat)]
  </code></pre>
  <p>I get a</p>
  <pre><code>error: nothing to repeat
  </code></pre>
  <p>Now i guess this is due to a bug or the inability of my two line code above to deal with special characters.</p>
  <p>Can you help on how i can fix this ?</p>