title: Django regex pattern matching
body: <p>I have the following urlpatterns:</p>
  
  <pre><code>url(r'^api/daily-means/$', views.daily_means.as_view(), name='daily_means'),
  url(r'^api/daily-means/sites/(?P&lt;url&gt;\w+)/$', views.site_daily_means.as_view()),
  url(r'^api/daily-means/pollutant/(?P&lt;poll&gt;\w+)$/', views.pollutant_daily_means.as_view()),
  </code></pre>
  
  <p>The first two work fine. The last one show work the same as the second one but it does not. Im not that great with regex and urlpatterns but I assume there is something with the second url pattern which is stopping the last one from running. Can anyone else see a reason for this?</p>