input: Write a python function to classify words based on their prefix, infix, or suffix using regular expressions.
  assert classify_word("attempting") == 'Prefix - attempting'
  assert classify_word("beyond") == 'Infix - beyond'
  assert classify_word("caresses") == 'Suffix - caresses'
  assert classify_word("uplift") == 'Prefix - uplift'
  assert classify_word("betweenness") == 'Infix - betweenness'
  assert classify_word("selfie") == 'Suffix - selfie'
output: import re
  
  def classify_word(word):
      if re.match(r'^(un|dis|pre|re|mis|sub|inter|trans|super|semi|anti|mid|under)', word):
          return f'Prefix - {word}'
      elif re.match(r'.*(ly|ness|ment|ful|able|al|ity|ize|ise|ous|ive|ic|ed|s)$', word):
          return f'Suffix - {word}'
      else:
          return f'Infix - {word}'