Codeigniter Routing Regex
问题 I have a site with multiple languages. For my news page I have two rules to route the pagination variable to my controller. One for all the languages (en, ct, cs, kr), and one for the default language. Routes.php $route['^(en|ct|cs|kr)/news/page/(:num)'] = 'news/index/$1'; $route['news/page/(:num)'] = 'news/index/$1'; News controller public function index($id) { echo $id; } The routes are accessing the news controller, however the $id parameter isn't being passed to the index() method. If I