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

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