Skip to content
JulianFun123 edited this page Jun 22, 2019 · 3 revisions
The Devermrouter has got regex support since version 2.0

Regex

Using RegEx is very simple!

$route = [
   "/regexsupport/([a-z]*)" => "customtest.php"
];

Getting the input:

echo $_ROUTEVAR[1]; // It starts with 1

Multible

Using RegEx is very simple!

$route = [
   "/regexsupport/([a-z]*)/([a-z]*)" => "customtest.php"
];

Getting the input:

echo $_ROUTEVAR[1];
echo $_ROUTEVAR[2];
Clone this wiki locally