def find_literals(text, pattern):
  import re
  pattern = 'fox'
  text = 'The quick brown fox jumps over the lazy dog.'
  
  match = re.search(pattern, text)
  s = match.start()
  e = match.end()
  return (match.re.pattern, s, e)
def similar_elements(test_tup1, test_tup2):
  
  res = tuple(set(test_tup1) & set(test_tup2))
  return (res) 