3 ms·
Looks good. I'd use named regex matches for the routes (like in Django) to make routes more flexible, ie. !/path/(?P<id>[0-9]{1,5}_(?P<kw>[a-z0-9_]{5,20})! etc.
by yaix 15y ago
Looks good. I'd use named regex matches for the routes (like in Django) to make routes more flexible, ie. !/path/(?P<id>[0-9]{1,5}_(?P<kw>[a-z0-9_]{5,20})! etc.
- antihero 15y agoAye, I'm thinking of adding that functionality so you could do <re:blah> in the route, however for now I'm keeping it as simple as possible.