Re: [w3ctag/design-reviews] Service Worker Scope Pattern Matching explainer (#417)

@kenchris and I discussed this today. The API surface and use cases look great! Some questions below.

Given this example:

```
const pattern = new URLPattern({ pathname: '/api/:product' });
if (let result = pattern.exec(url)) {
  routeTo(result.pathname.groups['product']);
}
```

And the input URL is `/api/foo?bar=baz#yay` , is the query and hash accessible from the result object?
Additionally, does the webapp manifest usage of pattern matching have the same restrictions as service workers?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/417#issuecomment-698188437

Received on Thursday, 24 September 2020 08:10:08 UTC