input: Write a python function to check if a given string matches the regex "I love programming in Python\."
  assert matches_regex("I love programming in Python.") == True
  assert matches_regex("I love programming in python.") == False
  assert matches_regex("I love programming in Python!") == False
  assert matches_regex("I love programming in Python") == False
output: import re
  
  def matches_regex(s: str) -> bool:
      pattern = r"I love programming in Python\."
      return bool(re.fullmatch(pattern, s))