-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathstartsWith.json
More file actions
143 lines (136 loc) · 3.62 KB
/
startsWith.json
File metadata and controls
143 lines (136 loc) · 3.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"basics": [
{
"expr": "startsWith('abcdef', 'abc')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "startsWith('abcdef', 'bc')",
"result": { "kind": "Boolean", "value": false }
},
{
"expr": "startsWith('abcdef', '')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "startsWith('1234', 12)",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "startsWith('true', true)",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "startsWith('false', false)",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "startsWith('asdf', null)",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "startsWith('1234', 23)",
"result": { "kind": "Boolean", "value": false }
},
{
"expr": "startsWith('true', false)",
"result": { "kind": "Boolean", "value": false }
},
{
"expr": "startsWith('true', false, true)",
"err": {
"kind": "parsing",
"value": "Too many parameters supplied: "
}
},
{
"expr": "startsWith('true')",
"err": {
"kind": "parsing",
"value": "Too few parameters supplied: "
}
}
],
"case-insensitive-a-thru-z": [
{
"expr": "startsWith('ABCDEFGHIJKLMNOPQRSTUVWXYZ_asdf', 'abcdefghijklmnopqrstuvwxyz')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "startsWith('abcdefghijklmnopqrstuvwxyz_asdf', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')",
"result": { "kind": "Boolean", "value": true }
}
],
"case-insensitive-ς-(final-lowercase-sigma)-Σ-(capital-sigma)-σ-(non-final-sigma)": [
{
"expr": "startsWith('ς_asdf', 'Σ')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "startsWith('ς_asdf', 'σ')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "startsWith('Σ_asdf', 'ς')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "startsWith('Σ_asdf', 'σ')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "startsWith('σ_asdf', 'ς')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "startsWith('σ_asdf', 'Σ')",
"result": { "kind": "Boolean", "value": true }
}
],
"case-insensitive-ü-Ü": [
{
"expr": "startsWith('ü_asdf', 'Ü')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "startsWith('Ü_asdf', 'ü')",
"result": { "kind": "Boolean", "value": true }
}
],
"case-insensitive-ç-Ç": [
{
"expr": "startsWith('ç_asdf', 'Ç')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "startsWith('Ç_asdf', 'ç')",
"result": { "kind": "Boolean", "value": true }
}
],
"case-sensitive-i-İ": [
{
"expr": "startsWith('i_asdf', 'İ')",
"result": { "kind": "Boolean", "value": false }
},
{
"expr": "startsWith('İ_asdf', 'i')",
"result": { "kind": "Boolean", "value": false }
}
],
"case-sensitive-ı-I": [
{
"expr": "startsWith('ı_asdf', 'I')",
"result": { "kind": "Boolean", "value": false }
},
{
"expr": "startsWith('I_asdf', 'ı')",
"result": { "kind": "Boolean", "value": false }
}
],
"cyrillic-letters": [
{
"expr": "startsWith('АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЭЮЯ_asdf', 'абвгдежзийклмнопрстуфхцчшщьэюя')",
"result": { "kind": "Boolean", "value": true }
}
]
}