feathers-hooks-rediscache icon indicating copy to clipboard operation
feathers-hooks-rediscache copied to clipboard

Add option to configure regex for route parsing

Open idealley opened this issue 6 years ago • 0 comments

For now a regex is hardcoded it is used to parse nested routes:

  let re = new RegExp(':([^\\/\\?]+)\\??', 'g');

It would be nice to be able to specify it if it should be something else than the default

idealley avatar Dec 07 '17 08:12 idealley