title: Create a route that matches everything that begins with something, in Codeigniter
body: <p>I'm trying to create a route that matches anything that begins with "cms".
  I tried this one:</p>
  
  <pre><code>$route['(^cms)'] = 'welcome';
  </code></pre>
  
  <p>It appears to match only "cms" literally. I've tried other variations - no success. The documentation of Codeigniter clearly states:</p>
  
  <blockquote>
    <p>If you prefer you can use regular expressions to define your routing rules. Any valid regular expression is allowed, as are back-references.</p>
  </blockquote>
  
  <p>Any suggestions? I'll note also, that i need to be able to catch routes that have more than one slash, like "<a href="https://mysite/cms/login" rel="nofollow noreferrer">https://mysite/cms/login</a>".</p>