FL
Size: a a a
FL
АГ
АГ
let routeList = route.split("/")
# iterate all URL and procHandler pairs
let pathList = iterate(HandlerTable)
for idx in 0 ..< pathList.len:
# if match continue
# www.example.com => www.example.com
# login => login
if pathList[idx] == routeList[idx]:
continue
# match {id} => 2
if routeList[idx].startsWith("{"):
let key = routeList[idx]
if key.len <= 2:
raise newException(RouteError, "{} shouldn't be empty!")
let
params = key[1 ..< ^1]
KN
FL
T🐜
KN
АГ
KN
KN
KN
T🐜
T🐜
KN
KN
KN
АГ
АГ
EK