Commit 582c376 1 parent cc81a77 commit 582c376 Copy full SHA for 582c376
File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1115
1115
"hostname" : { "input" : " xn--caf-dma.com" , "groups" : {}}
1116
1116
}
1117
1117
},
1118
+ {
1119
+ "pattern" : [{"pathname" :" :a\uDB40\uDD00 b" }],
1120
+ "inputs" : [],
1121
+ "expected_obj" : {
1122
+ "pathname" : " :a\uDB40\uDD00 b"
1123
+ },
1124
+ "expected_match" : null
1125
+ },
1126
+ {
1127
+ "pattern" : [{"pathname" :" test/:a\uD801\uDC50 b" }],
1128
+ "inputs" : [{"pathname" :" test/foo" }],
1129
+ "expected_obj" : {
1130
+ "pathname" : " test/:a\uD801\uDC50 b"
1131
+ },
1132
+ "expected_match" : {
1133
+ "pathname" : { "input" : " test/foo" , "groups" : { "a\uD801\uDC50 b" : " foo" }}
1134
+ }
1135
+ },
1136
+ {
1137
+ "pattern" : [{"pathname" :" :\uD83D\uDEB2 " }],
1138
+ "expected_obj" : " error"
1139
+ },
1118
1140
{
1119
1141
"pattern" : [{ "port" : " " }],
1120
1142
"inputs" : [{ "protocol" : " http" , "port" : " 80" }],
2824
2846
"search" : { "input" : " q=*&v=?&hmm={}&umm=()" , "groups" : {} },
2825
2847
"hash" : { "input" : " foo" , "groups" : {} }
2826
2848
}
2849
+ },
2850
+ {
2851
+ "pattern" : [{ "pathname" : " /([[a-z]--a])" }],
2852
+ "inputs" : [{ "pathname" : " /a" }],
2853
+ "expected_match" : null
2827
2854
}
2828
2855
]
You can’t perform that action at this time.
0 commit comments