input: Write a function to search for a given string in a list of strings. If a match is found, return "String matches", otherwise return "String doesn't match". If the list of strings is empty, return "String doesn't match".
  import re
  
  def search_string_in_list(strings, inp_str):
      if not strings:
          return "String doesn't match"
      for i in strings:
          if re.search(i, inp_str):
              return "String matches"
      return "String doesn't match"
  
  assert search_string_in_list(["First","Second","Third"], "Fourth") == "String doesn't match"
  assert search_string_in_list(["First","Second","Third"], "Second") == "String matches"
  assert search_string_in_list(["First","Second","Third"], "Fir") == "String matches"
  assert search_string_in_list([], "Any") == "String doesn't match"
  assert search_string_in_list(["First","Second","Third"], "") == "String doesn't match"
output: import re
  
  def search_string_in_list(strings, inp_str):
      if not strings:
          return "String doesn't match"
      for i in strings:
          if re.search(i, inp_str):
              return "String matches"
      return "String doesn't match"