input: Write a python function to find all the links on a webpage with a specific class name using requests and regex.
  assert find_links("https://www.example.com") == ["https://www.example.com/link1", "https://www.example.com/link2"]
  assert find_links("https://www.example2.com") == ["https://www.example2.com/path1", "https://www.example2.com/path2"]
output: import requests
  import re
  
  def find_links(url, class_name):
      response = requests.get(url)
      if response.status_code != 200:
          return []
      
      pattern = f'<a[^>]*class="{class_name}"[^>]*href=["\'](.*?)["\']'
      links = re.findall(pattern, response.text)
      
      return links