jorgegorka / svelte-router

Svelte Router adds routing to your Svelte apps. It's designed for Single Page Applications (SPA). Includes localisation, guards and nested layouts.
MIT License
508 stars 42 forks source link

Regex support in varibales #141

Open isaacwein opened 1 year ago

isaacwein commented 1 year ago

is there an option to use regex in variable like users/:id=/\d+/

flipkickmedia commented 6 months ago

What would be your thoughts on how to handle cases where two regexes overlap?

Can you provide an example config on how this might look?

Ive forked this repo at https://github.com/flipkickmedia/svelte-router-spa so please comment there if possible