input: Write a function to search for a given input string within a list of strings and return "String matches" if there is at least one match and "String doesn't match" if there are no matches. Use the re.search function to check for matches.
  
  import re
  
  def string_search(strings, inp_str):
      found = False
      for i in strings:
          if re.search(i, inp_str):
              found = True
      if found:
          return "String matches"
      else:
          return "String doesn't match"
  
  assert string_search(["First", "Second", "Third"], "First")=="String matches"
  assert string_search(["First", "Second", "Third"], "Firs")=="String doesn't match"
  assert string_search(["First", "Second", "Third"], "Second")=="String matches"
  assert string_search(["First", "Second", "Third"], "Thir")=="String doesn't match"
  assert string_search(["First", "Second", "Third"], "Third")=="String matches"
output: import re
  
  def string_search(strings, inp_str):
      for s in strings:
          if re.search(s, inp_str):
              return "String matches"
      return "String doesn't match"