code: def test_regex_presence_string_column(df_strings):
      """
      Raise KeyError if search_value is a regex
      and does not exist in the dataframe's columns.
      """
      with pytest.raises(KeyError, match="No match was returned for.+"):
          df_strings.select_columns(re.compile("word"))
  
imports: import datetime
  import re
  from itertools import product
  import numpy
  import pandas
  import pytest
  from pandas.api.types import is_numeric_dtype
  from pandas.testing import assert_frame_equal
  from janitor.functions.utils import DropLabel, get_columns, patterns
label_desc: Use image node_id 19 for calling a global function with example usage: test_regex_presence_string_column(df_strings) without return types