| 1 | [ |
| 2 | { |
| 3 | "id": "1111-feel-matches-function:K-MatchesFunc-1:K-MatchesFunc-1", |
| 4 | "expression": "matches(\"input\", [])", |
| 5 | "expected": null, |
| 6 | "expected_type": "null", |
| 7 | "comparison": "exact", |
| 8 | "deviation": null |
| 9 | }, |
| 10 | { |
| 11 | "id": "1111-feel-matches-function:K-MatchesFunc-2:K-MatchesFunc-2", |
| 12 | "expression": "matches(\"input\")", |
| 13 | "expected": null, |
| 14 | "expected_type": "null", |
| 15 | "comparison": "exact", |
| 16 | "deviation": null |
| 17 | }, |
| 18 | { |
| 19 | "id": "1111-feel-matches-function:K-MatchesFunc-3:K-MatchesFunc-3", |
| 20 | "expression": "matches(\"input\", \"pattern\", [])", |
| 21 | "expected": null, |
| 22 | "expected_type": "null", |
| 23 | "comparison": "exact", |
| 24 | "deviation": null |
| 25 | }, |
| 26 | { |
| 27 | "id": "1111-feel-matches-function:K-MatchesFunc-4:K-MatchesFunc-4", |
| 28 | "expression": "matches(\"input\", \"pattern\", \"\", [])", |
| 29 | "expected": null, |
| 30 | "expected_type": "null", |
| 31 | "comparison": "exact", |
| 32 | "deviation": null |
| 33 | }, |
| 34 | { |
| 35 | "id": "1111-feel-matches-function:K-MatchesFunc-5:K-MatchesFunc-5", |
| 36 | "expression": "matches(\"input\", \"pattern\", \" \")", |
| 37 | "expected": null, |
| 38 | "expected_type": "null", |
| 39 | "comparison": "exact", |
| 40 | "deviation": null |
| 41 | }, |
| 42 | { |
| 43 | "id": "1111-feel-matches-function:K-MatchesFunc-6:K-MatchesFunc-6", |
| 44 | "expression": "matches(\"input\", \"pattern\", \"X\")", |
| 45 | "expected": null, |
| 46 | "expected_type": "null", |
| 47 | "comparison": "exact", |
| 48 | "deviation": null |
| 49 | }, |
| 50 | { |
| 51 | "id": "1111-feel-matches-function:K2-MatchesFunc-10:K2-MatchesFunc-10", |
| 52 | "expression": "matches(\"input\", \"\\3\")", |
| 53 | "expected": null, |
| 54 | "expected_type": "null", |
| 55 | "comparison": "exact", |
| 56 | "deviation": null |
| 57 | }, |
| 58 | { |
| 59 | "id": "1111-feel-matches-function:K2-MatchesFunc-11:K2-MatchesFunc-11", |
| 60 | "expression": "matches(\"abcd\", \"(asd)[\\1]\")", |
| 61 | "expected": null, |
| 62 | "expected_type": "null", |
| 63 | "comparison": "exact", |
| 64 | "deviation": null |
| 65 | }, |
| 66 | { |
| 67 | "id": "1111-feel-matches-function:K2-MatchesFunc-12:K2-MatchesFunc-12", |
| 68 | "expression": "matches(\"abcd\", \"(asd)[asd\\1]\")", |
| 69 | "expected": null, |
| 70 | "expected_type": "null", |
| 71 | "comparison": "exact", |
| 72 | "deviation": null |
| 73 | }, |
| 74 | { |
| 75 | "id": "1111-feel-matches-function:K2-MatchesFunc-13:K2-MatchesFunc-13", |
| 76 | "expression": "matches(\"abcd\", \"(asd)[asd\\0]\")", |
| 77 | "expected": null, |
| 78 | "expected_type": "null", |
| 79 | "comparison": "exact", |
| 80 | "deviation": null |
| 81 | }, |
| 82 | { |
| 83 | "id": "1111-feel-matches-function:K2-MatchesFunc-14:K2-MatchesFunc-14", |
| 84 | "expression": "matches(\"abcd\", \"1[asd\\0]\")", |
| 85 | "expected": null, |
| 86 | "expected_type": "null", |
| 87 | "comparison": "exact", |
| 88 | "deviation": null |
| 89 | }, |
| 90 | { |
| 91 | "id": "1111-feel-matches-function:K2-MatchesFunc-15:K2-MatchesFunc-15", |
| 92 | "expression": "[matches(\"a\", \"a[^b]\"), matches(\"a \", \"a[^b]\")]", |
| 93 | "expected": [ |
| 94 | false, |
| 95 | true |
| 96 | ], |
| 97 | "expected_type": "list", |
| 98 | "comparison": "exact", |
| 99 | "deviation": null |
| 100 | }, |
| 101 | { |
| 102 | "id": "1111-feel-matches-function:K2-MatchesFunc-7:K2-MatchesFunc-7", |
| 103 | "expression": "matches(\"hello world\", \"\\p{ IsBasicLatin}+\")", |
| 104 | "expected": null, |
| 105 | "expected_type": "null", |
| 106 | "comparison": "exact", |
| 107 | "deviation": null |
| 108 | }, |
| 109 | { |
| 110 | "id": "1111-feel-matches-function:K2-MatchesFunc-8:K2-MatchesFunc-8", |
| 111 | "expression": "matches(\"h\", \"(.)\\3\")", |
| 112 | "expected": null, |
| 113 | "expected_type": "null", |
| 114 | "comparison": "exact", |
| 115 | "deviation": null |
| 116 | }, |
| 117 | { |
| 118 | "id": "1111-feel-matches-function:K2-MatchesFunc-9:K2-MatchesFunc-9", |
| 119 | "expression": "matches(\"h\", \"(.)\\2\")", |
| 120 | "expected": null, |
| 121 | "expected_type": "null", |
| 122 | "comparison": "exact", |
| 123 | "deviation": null |
| 124 | }, |
| 125 | { |
| 126 | "id": "1111-feel-matches-function:caselessmatch01:caselessmatch01", |
| 127 | "expression": "matches(\"abc\", \"ABC\", \"i\")", |
| 128 | "expected": true, |
| 129 | "expected_type": "boolean", |
| 130 | "comparison": "exact", |
| 131 | "deviation": null |
| 132 | }, |
| 133 | { |
| 134 | "id": "1111-feel-matches-function:caselessmatch02:caselessmatch02", |
| 135 | "expression": "matches(\"abZ\", \"[A-Z]*\", \"i\")", |
| 136 | "expected": true, |
| 137 | "expected_type": "boolean", |
| 138 | "comparison": "exact", |
| 139 | "deviation": null |
| 140 | }, |
| 141 | { |
| 142 | "id": "1111-feel-matches-function:caselessmatch03:caselessmatch03", |
| 143 | "expression": "matches(\"abZ\", \"[a-z]*\", \"i\")", |
| 144 | "expected": true, |
| 145 | "expected_type": "boolean", |
| 146 | "comparison": "exact", |
| 147 | "deviation": null |
| 148 | }, |
| 149 | { |
| 150 | "id": "1111-feel-matches-function:caselessmatch08:caselessmatch08", |
| 151 | "expression": "matches(\"x\", \"[A-Z-[OI]]\", \"i\")", |
| 152 | "expected": true, |
| 153 | "expected_type": "boolean", |
| 154 | "comparison": "exact", |
| 155 | "deviation": null |
| 156 | }, |
| 157 | { |
| 158 | "id": "1111-feel-matches-function:caselessmatch09:caselessmatch09", |
| 159 | "expression": "matches(\"X\", \"[A-Z-[OI]]\", \"i\")", |
| 160 | "expected": true, |
| 161 | "expected_type": "boolean", |
| 162 | "comparison": "exact", |
| 163 | "deviation": null |
| 164 | }, |
| 165 | { |
| 166 | "id": "1111-feel-matches-function:caselessmatch12:caselessmatch12", |
| 167 | "expression": "matches(\"Q\", \"[^Q]\", \"i\")", |
| 168 | "expected": false, |
| 169 | "expected_type": "boolean", |
| 170 | "comparison": "exact", |
| 171 | "deviation": null |
| 172 | }, |
| 173 | { |
| 174 | "id": "1111-feel-matches-function:caselessmatch13:caselessmatch13", |
| 175 | "expression": "matches(\"q\", \"[^Q]\", \"i\")", |
| 176 | "expected": false, |
| 177 | "expected_type": "boolean", |
| 178 | "comparison": "exact", |
| 179 | "deviation": null |
| 180 | }, |
| 181 | { |
| 182 | "id": "1111-feel-matches-function:fn-matches2args-1:fn-matches2args-1", |
| 183 | "expression": "matches(\"This is a characte\",\"This is a characte\")", |
| 184 | "expected": true, |
| 185 | "expected_type": "boolean", |
| 186 | "comparison": "exact", |
| 187 | "deviation": null |
| 188 | }, |
| 189 | { |
| 190 | "id": "1111-feel-matches-function:fn-matchesErr-1:fn-matchesErr-1", |
| 191 | "expression": "matches(\"abracadabra\", \"bra\", \"p\")", |
| 192 | "expected": null, |
| 193 | "expected_type": "null", |
| 194 | "comparison": "exact", |
| 195 | "deviation": null |
| 196 | }, |
| 197 | { |
| 198 | "id": "1111-feel-matches-function:fn-null-flags:fn-null-flags", |
| 199 | "expression": "matches(\"abracadabra\", \"bra\", null)", |
| 200 | "expected": true, |
| 201 | "expected_type": "boolean", |
| 202 | "comparison": "exact", |
| 203 | "deviation": null |
| 204 | }, |
| 205 | { |
| 206 | "id": "1111-feel-matches-function:fn-null-input:fn-null-input", |
| 207 | "expression": "matches(null, \"pattern\")", |
| 208 | "expected": null, |
| 209 | "expected_type": "null", |
| 210 | "comparison": "exact", |
| 211 | "deviation": null |
| 212 | }, |
| 213 | { |
| 214 | "id": "1111-feel-matches-function:fn-null-pattern:fn-null-pattern", |
| 215 | "expression": "matches(\"input\", null)", |
| 216 | "expected": null, |
| 217 | "expected_type": "null", |
| 218 | "comparison": "exact", |
| 219 | "deviation": null |
| 220 | } |
| 221 | ] |