Fork me on GitHub

Hi, I'm pretty new to reagent and libraries around it, and I would like to route against a regular expression. As I used the "reagent-template" to generate my project, I use reitit for routing purpose, I would like to declare a router as follows:

(def router
  [[#"/page.*" :index]]))
But reitit doesn't seem to handle it correctly:
svg-ellipse.core> (reitit.core/routes router)
Is there a way to handle regex through reitit?


You might have better luck on #reitit!


Thank you for the link :)

simple_smile 4