Fix pattern type in DynamicURLResolver.
Review Request #11964 — Created Jan. 21, 2022 and submitted
The new URL pattern types introduced in Django 2.0 involved an API
DynamicURLResolverto need to pass in a regex object. This
change updates our resolver to match.
Ran unit tests.