router icon indicating copy to clipboard operation
router copied to clipboard

addFlag function to add flag for pattern

Open syrian-dev opened this issue 2 years ago • 1 comments

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');

syrian-dev avatar Feb 28 '23 01:02 syrian-dev

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 🙂

uvulpos avatar Jun 11 '23 00:06 uvulpos