url-pattern icon indicating copy to clipboard operation
url-pattern copied to clipboard

easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.

Results 13 url-pattern issues
Sort by recently updated
recently updated
newest added

- [x] convert coffeescript to high quality typescript - [x] make all tests pass again - [x] fix all typescript linter and compiler errors - [x] make node tests work...

Hi! I tried to use "/feed|/rss" pattern to match URLs like /feed and /rss but it doesn't work as expected. Maybe I'm using wrong syntax for OR conditions, I didn't...

hi! first of all, thanks for giving us this cool library. i'm using it in one of my typescript projects and i want to access the definitions for url options....

There is a small typo in README.md. Should read `composable` rather than `combosable`.

It's probably on me, but I was unable to create a pattern for url's like this: ``` /present/tag1/tag2/tag3/[...tagN] ``` the `/present` is a const, the tags are coming at the...

var UrlPattern = require("url-pattern") Is there any way to enforce regex at a segment level? I have a pattern for `username` with a `@`. The current route matchers are failing...

A case: ```html let testVal = new window.inner.contentWindow.RegExp(/testReg/); console.log(testVal instanceof RegExp);//false ```

I understand most libraries use: /users/:id but Swagger, the no1 lib for defining API contracts and mocking, uses: /users/{id} I need to parse the Swagger-style syntax. This is a request...

help wanted

the current default is unexpected to some. it's likely that this change will meet more expectations than the current default. breaking change see #32