I need to parse routes like:
/symbol/🌊/page/2
/symbol/A/page/2
So there might be any symbol except special chars /#?$%&*@$(){}[]
and quotes. But regexp like [^...]
seems to exclude non ascii chars. And regexp like [\u0030-\uFFFF]
not matching request:
router.get('/:symbol([\u0030-\uFFFF]+)/page/:page$', function(req, res, next) {
via MadDocNC
No comments:
Post a Comment