Write a Python program to delete all characters in a string that matches a given pattern.
string = "The qick brown fox jumps over the lazy dog."
pattern = "q[a-z]ck"
import re
def delete_pattern_characters(string, pattern):
 return re.sub(pattern, "", string)