Generate a Python script for searching for a pattern in a given text.
Text: "The cat jumped over the fence"
Pattern: "cat"
import re
text = "The cat jumped over the fence"
pattern = "cat"
match = re.search(pattern, text)
if match:
    print("Pattern found!")