input: Write a python function to extract environment variables from a bash script and return them as a dictionary.
  assert extract_env_vars(script_content) == {
      "my_name": "John Doe",
      "my_age": "32",
      "my_code_editor": "vim",
      "my_python_version": "3.7",
      "my_favourite_language": "java",
      "my_git_username": "johndoe123",
      "my_github_url": "https://github.com/johndoe123"
  }
  assert extract_env_vars("") == {}
  assert extract_env_vars("export var1='value1'\nexport var2='value2'") == {"var1": "value1", "var2": "value2"}
output: def extract_env_vars(script_content):
      import re
      env_vars = {}
      pattern = re.compile(r'export (\w+)=["\']?([^"\']+)["\']?')
      matches = pattern.findall(script_content)
      for var, value in matches:
          env_vars[var] = value
      return env_vars