title: CakePHP routing regex matching when I don't want it to
body: <p>This code in my routes.php is built to route URLs from an old version of a site, to a function that then redirects to the new URL.  It's working good for the URLs it is supposed to work for, such as <code>/p2045/some-product</code>, but it's also matching URLs that begin with a p, such as <code>/products</code>.  I assumed that the regex below would not match this.  Can anyone point me in the right direction?</p>
  
  <pre><code>Router::connect('/p:id/*',
      array(
          'controller' =&gt; 'products',
          'action' =&gt; 'legacy_redirect',
          'id' =&gt; '^[0-9]+$'
      )
  );
  </code></pre>