title: regular expression in urls. py in django 2.0
body: <p>How can I write these two urls including their regular expression in django 2.0? Huge thanks.</p>
  
  <pre><code>url(r'^page/(?P&lt;id&gt;\S+_[0-9]{3,})', views.pageinfo, name="page"),
  url(r'^something/(?P&lt;id&gt;\S+)/', views.jsoninfo, name="testinfo2"),
  </code></pre>