Skip to content

Kirby 4.5.0

$route->regex()

Converts the pattern into a full regular expression by replacing all the wildcards

$route->regex(string $pattern): string

Parameters

Name Type Default
$pattern * string

Return type

string

Parent class

Kirby\Http\Route