You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why do the hash, password, pathname, search and username have groups set even though the input did not explicitly ask for them? Is that because the input pattern doesn't include those paths and they are considered wildcard automatically?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
If I run
new URLPattern('https://example.com').exec('https://example.com')
, I get the output:Why do the hash, password, pathname, search and username have groups set even though the input did not explicitly ask for them? Is that because the input pattern doesn't include those paths and they are considered wildcard automatically?
Beta Was this translation helpful? Give feedback.
All reactions