We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53403b0 commit fd132aeCopy full SHA for fd132ae
urlpattern/resources/urlpatterntestdata.json
@@ -2665,5 +2665,19 @@
2665
"pattern": [{ "pathname": "*//*" }],
2666
"inputs": [{ "pathname": "foo/bar" }],
2667
"expected_match": null
2668
+ },
2669
+ {
2670
+ "pattern": [{ "pathname": "/:foo." }],
2671
+ "inputs": [{ "pathname": "/bar." }],
2672
+ "expected_match": {
2673
+ "pathname": { "input": "/bar.", "groups": { "foo": "bar" } }
2674
+ }
2675
2676
2677
+ "pattern": [{ "pathname": "/:foo.." }],
2678
+ "inputs": [{ "pathname": "/bar.." }],
2679
2680
+ "pathname": { "input": "/bar..", "groups": { "foo": "bar" } }
2681
2682
}
2683
]
0 commit comments