      from . import views
  
      urlpatterns = [
          #...
          url(r'^articles/([0-9]{4})/$', views.year_archive, name='news-year-archive'),
          #...
      ]
  
  According to this design, the URL for the archive corresponding to year *nnnn*
  is ``/articles/nnnn/``.
 
</s> remove from django.conf.urls import url
 </s> add  </s> remove         url(r'^publishers/$', PublisherList.as_view()),
 </s> add         path('publishers/', PublisherList.as_view()), </s> remove     from django.conf.urls import url
 </s> add     from django.urls import path </s> remove            url(r'^static/(?P<path>.*)$', views.serve),
 </s> add            re_path(r'^static/(?P<path>.*)$', views.serve),
        path('articles/<int:year>/', views.year_archive, name='news-year-archive'),
      from . import views
  
      urlpatterns = [
          #...
        path('articles/<int:year>/', views.year_archive, name='news-year-archive'),
          #...
      ]
  
  According to this design, the URL for the archive corresponding to year *nnnn*
  is ``/articles/nnnn/``.
keep keep keep keep replace keep keep keep keep keep
 Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.

Thanks Aymeric Augustin for shepherding the DEP and patch review.
Thanks Marten Kenbeek and Tim Graham for contributing to the code.
Thanks Tom Christie, Shai Berger, and Tim Graham for the docs. 
docs/topics/http/urls.txt