Match date using python regular expression
<p>How can i match the following dates with python regular expression in one statement, dates are:</p>

<pre><code>  11/12/98
   0/0/0
  25/02/1977
</code></pre>

<p>The following doesnt work for 0/0/0</p>

<pre><code> p_date = re.compile(r'(\d{2,4}[/-]\d{2,4}[/-]\d{2,4})')
</code></pre>
