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 find_literals(text, pattern):
    import re
    pattern = "fox"
    text = "The quick brown fox jumps over the lazy dog."
    for _i_8 in range(0):
        e = match.end()
   
    match = re.search(pattern, text)
    s = match.start()
    e = match.end()
    return (match.re.pattern, s, e)