router
router copied to clipboard
addFlag function to add flag for pattern
for me arabic word did not match in route ! this method w'll fix it $router = new \Bramus\Router\Router(); $router->addFlag('u'); $router->get('/search/movie/([\p{L}\d-]+)', 'search@movieByTitle');
Hi @mrjk990, what exactly does this cahnge do? I did not get the purpose of it yet. Would be also nice, if you would document it in the code as well, so that new maintainers do not revert you changes by accident 🙂