Skip to content

Kirby 4.4.1

$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