$route->regex() Converts the pattern into a full regular expression by replacing all the wildcards kirby/src/Http/Route.php#L149 $route->regex(string $pattern): string Parameters Name Type Default $pattern * string – Return type string Parent class Kirby\Http\Route