-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathendsWith.json
More file actions
129 lines (122 loc) · 3.27 KB
/
endsWith.json
File metadata and controls
129 lines (122 loc) · 3.27 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
{
"basics": [
{
"expr": "endsWith('abcdef', 'def')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "endsWith('abcdef', 'de')",
"result": { "kind": "Boolean", "value": false }
},
{
"expr": "endsWith('abcdef', '')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "endsWith('1234', 34)",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "endsWith('true', true)",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "endsWith('false', false)",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "endsWith('asdf', null)",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "endsWith('1234', 23)",
"result": { "kind": "Boolean", "value": false }
},
{
"expr": "endsWith('true', false)",
"result": { "kind": "Boolean", "value": false }
}
],
"case-insensitive-a-thru-z": [
{
"expr": "endsWith('asdf_ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "endsWith('asdf_abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')",
"result": { "kind": "Boolean", "value": true }
}
],
"case-insensitive-ς-(final-lowercase-sigma)-Σ-(capital-sigma)-σ-(non-final-sigma)": [
{
"expr": "endsWith('asdf_ς', 'Σ')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "endsWith('asdf_ς', 'σ')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "endsWith('asdf_Σ', 'ς')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "endsWith('asdf_Σ', 'σ')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "endsWith('asdf_σ', 'ς')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "endsWith('asdf_σ', 'Σ')",
"result": { "kind": "Boolean", "value": true }
}
],
"case-insensitive-ü-Ü": [
{
"expr": "endsWith('asdf_ü', 'Ü')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "endsWith('asdf_Ü', 'ü')",
"result": { "kind": "Boolean", "value": true }
}
],
"case-insensitive-ç-Ç": [
{
"expr": "endsWith('asdf_ç', 'Ç')",
"result": { "kind": "Boolean", "value": true }
},
{
"expr": "endsWith('asdf_Ç', 'ç')",
"result": { "kind": "Boolean", "value": true }
}
],
"case-sensitive-i-İ": [
{
"expr": "endsWith('asdf_i', 'İ')",
"result": { "kind": "Boolean", "value": false }
},
{
"expr": "endsWith('asdf_İ', 'i')",
"result": { "kind": "Boolean", "value": false }
}
],
"case-sensitive-ı-I": [
{
"expr": "endsWith('asdf_ı', 'I')",
"result": { "kind": "Boolean", "value": false }
},
{
"expr": "endsWith('asdf_I', 'ı')",
"result": { "kind": "Boolean", "value": false }
}
],
"cyrillic-letters": [
{
"expr": "endsWith('asdf_АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЭЮЯ', 'абвгдежзийклмнопрстуфхцчшщьэюя')",
"result": { "kind": "Boolean", "value": true }
}
]
}