Hi,
Why this regex route doesn't match the module?
$router->addRoute(
'regex1',
new Zend_Controller_Router_Route_Regex(
'tcontrol/(.+/)*',
array(
'module'=>'mod',
'controller' => 'control',
'action' => 'index'
),
array(
1 => 'action'
)
)
);
With url :
http://www.example.com/tcontrol/cale.../p3/tyu/p4/hjk
array(7) {
["controller"]=>
string(7) "tcontrol"
["action"]=>
string(10) "calendar"
["p1"]=>
string(2) "jh"
["p2"]=>
string(3) "ert"
["p3"]=>
string(3) "tyu"
["p4"]=>
string(3) "hjk"
["module"]=>
string(7) "default"
}
Thks.