title: Python regex to match IP-address with /CIDR
body: <pre><code>m = re.findall("\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}",s)
  </code></pre>
  
  <p>How do I modify it so it will match not only IPv4, but also something with CIDR like <code>10.10.10.0/24</code>?</p>