Skip to content

Kirby 4.1.2

(:alpha)

Matches any characters between a-z & A-Z

Example

/site/config/config.php
return [
  'routes' => [
    [
      'pattern' => '/projects/(:alpha)',
      'action'  => function (string $path) {
        // react to requests
      }
    ]
  ]
];