title: Regex for UNIX absolute path in python
body: <p>I'm trying to get UNIX absolute paths using the following regex:</p>
  
  <pre><code>"?[a-zA-Z0-9\/].*\.[a-zA-Z0-9].*"?
  </code></pre>
  
  <p>The problem is that this regex matchs:</p>
  
  <pre><code>"/home/user/web/other.longextension"
  /path/to/file.php
  </code></pre>
  
  <p>And match this (unwanted) links:
      <a href="http://google.com" rel="nofollow">http://google.com</a>
      <a href="https://web.com" rel="nofollow">https://web.com</a>
      <a href="ftp://other.com" rel="nofollow">ftp://other.com</a></p>
  
  <p>And does not match (wanted):
      '/path/to/any/file.txt'
      /this/path/too</p>
  
  <p>Thanks</p>