You should be able to do it like this:
Router::connect('/{:dummy:[aA][bB][cC]}', array('Example::test'));
Edit: There is a nicer way to do it as well by creating the Route object by your self
Router::connect(new Route(array(
'pattern' => '@^/ab?$@i',
'params' => array('controller' => 'example', 'action' => 'test'),
'options' => array('compile' => false, 'wrap' => false)
)));
If i brake out the pattern above '@^/ab?$@i'
- @ == start of regex
- ^ == start of line
- /ab == look for "/ab
- ? == optional trailing slash
- $ == end of line
- @ == end of regex
- i == make it case insensitive
And you can find more information here:
http://li3.me/docs/lithium/net/http/Route