dart-neats icon indicating copy to clipboard operation
dart-neats copied to clipboard

Migrate to use same pattern as UrlPattern

Open jonasfj opened this issue 4 years ago • 3 comments

We could use the same pattern as UrlPattern.

This would be a breaking change... It's possible we could make a deprecated API or something else for use the old syntax.

jonasfj avatar Oct 25 '21 10:10 jonasfj

I just came to file this as a feature request. I think it's a great idea now that browsers and other languages are starting to standardize around this.

mark-dropbear avatar Feb 22 '22 13:02 mark-dropbear

Just for reference this should be helpful https://wicg.github.io/urlpattern/#urlpattern

mark-dropbear avatar Mar 04 '22 18:03 mark-dropbear

If someone wants to work on this I'm happy to review PRs, just make sure the CC @jonasfj on PRs.

Maybe it even makes sense for dart-neats to contain a package that does UrlPattern matching.

jonasfj avatar Mar 23 '22 10:03 jonasfj