Hello, I'm creating a multi-module website with a "website" module and api modules for each version of the api (e.g.: "api-v1", "api-v2"). I'm trying to setup the router to redirect to the correct version of the api by using a regular expression:
$router->add('/api/(v[0-9]+)/:controller', array( 'module' => 'api-' . 1, 'controller' => 2 ));
However PHP parses this as an addition of strings and Phalcon then tries to load the module "api-1" which doesn't exist. I want to load the module "api-v1" instead, is it possible?