
    Write a function that converts student enrollment dates from the learning management system's internal format (yyyy-mm-dd) to the school's standard reporting format (dd-mm-yyyy) for displaying on student progress reports. The function should handle any valid enrollment date and maintain consistent formatting for all student records in the academic database.
    

    
import re

def change_date_format(dt):
    """
    Write a function that converts student enrollment dates from the learning management system's internal format (yyyy-mm-dd) to the school's standard reporting format (dd-mm-yyyy) for displaying on student progress reports. The function should handle any valid enrollment date and maintain consistent formatting for all student records in the academic database.
    

    """
import re

def change_date_format(dt):
    """
    Write a function that converts student enrollment dates from the learning management system's internal format (yyyy-mm-dd) to the school's standard reporting format (dd-mm-yyyy) for displaying on student progress reports. The function should handle any valid enrollment date and maintain consistent formatting for all student records in the academic database.
    

    """
    return re.sub('(\\d{4})-(\\d{1,2})-(\\d{1,2})', '\\3-\\2-\\1', dt)