def METHOD_NAME(dictionary):
    for key in dictionary.keys():
        # logger.info(f"key = {key}, dictionary[key] = {dictionary[key]}")
        dictionary[key] = re.compile(dictionary[key])
    return dictionary