Closed erikringsmuth closed 10 years ago
RegExp pattern matching is in place as of commit https://github.com/erikringsmuth/app-router/commit/64575423a4eb58e078bc07a163ca625e36211a61!
Documentation: https://github.com/erikringsmuth/app-router#regular-expressions
It'd be great to be able to match using regular expressions.
Example: match a pattern like '/word/number'
The issue is escaping the regular expression string in the HTML. Also how would it be called from JS?