
    Write a function that converts a student's enrollment date in the learning management system from the internal yyyy-mm-dd format to the student-facing dd-mm-yyyy format for displaying on progress reports and learning schedules. The function should handle any valid enrollment date and maintain the chronological accuracy of the records while making them more readable for students and parents.
    

    
import re

def change_date_format(dt):
    """
    Write a function that converts a student's enrollment date in the learning management system from the internal yyyy-mm-dd format to the student-facing dd-mm-yyyy format for displaying on progress reports and learning schedules. The function should handle any valid enrollment date and maintain the chronological accuracy of the records while making them more readable for students and parents.
    

    """
import re

def change_date_format(dt):
    """
    Write a function that converts a student's enrollment date in the learning management system from the internal yyyy-mm-dd format to the student-facing dd-mm-yyyy format for displaying on progress reports and learning schedules. The function should handle any valid enrollment date and maintain the chronological accuracy of the records while making them more readable for students and parents.
    

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