(:alphanum)
Matches any characters between a-z, A-Z & 0-9
Example
return [
'routes' => [
[
'pattern' => '/projects/(:alphanum)',
'action' => function (string $path) {
// react to requests
}
]
]
];
Matches any characters between a-z, A-Z & 0-9
return [
'routes' => [
[
'pattern' => '/projects/(:alphanum)',
'action' => function (string $path) {
// react to requests
}
]
]
];