Fix for allowing correct interaction with django-admin-enhancer.

Make sure to use the same regex pattern as the oldurl we are replacing.