Fork me on GitHub
#reitit
<
2024-02-21
>
emil0r13:02:12

Are there any plans for reitit to support regex based routing? I have a need for this at work as we’re moving from Compojure to reitit. There are some old paths at the very top of the URL structure that gets routed based on a regex in Compojure, and it’s a no-no to break that. I’ve written a small patch against one of the routers and added it, and so far it’s been working great. It’s not ideal however, as we’re now forgoing all the other routers in reitit. Looking at the implementation in reitit-core I’m left wondering if it would be possible to implement a specific regex-based router? Would a patch for that be welcome?