Use route to filter out part of directory address in url

I think, the point here is not to reroute, but return the result:

c::set('routes', array(
  array(
    'pattern' => 'cerca/(:any)',
    'action'  => function($tag) {
      return page('cerca') . '/tag:' . $tag;
    }
  )
));

But this is just guessing, I donโ€™t know if it really works like this :thinking: