title: Codeigniter Router $this->uri->segment not working exactly
body: <p>I have two-way access:</p>
  
  <pre><code>1 : http://website.com/main/selectBaivietTag/video/chon-loc/2 //$this-&gt;uri-&gt;segment(5)=2
  2 : http://website.com/video/tag/chon-loc/2 //$this-&gt;uri-&gt;segment(5)=1
  </code></pre>
  
  <p>And my router</p>
  
  <pre><code>$route['([a-z\-]+)/tag/([a-z\-]+)/(:num)']='main/selectBaivietTag/$1/$2';
  $route['([a-z\-]+)/tag/([a-z\-]+)']='main/selectBaivietTag/$1/$2';
  </code></pre>
  
  <p>I want access the second but $this->uri->segment(5)=2 not =1, Please help me!
  Thanks alot!</p>