| 1 |
# !!! DO NOT EDIT !!! |
| 2 |
# Automatically generated by 'regex-cli generate fowler'. |
| 3 |
# Numbers in the test names correspond to the line number of the test from |
| 4 |
# the original dat file. |
| 5 |
|
| 6 |
[[test]] |
| 7 |
name = "nullsubexpr3" |
| 8 |
regex = '''(a*)*''' |
| 9 |
haystack = '''a''' |
| 10 |
matches = [[[0, 1], [0, 1]]] |
| 11 |
match-limit = 1 |
| 12 |
anchored = true |
| 13 |
|
| 14 |
[[test]] |
| 15 |
name = "nullsubexpr4" |
| 16 |
regex = '''(a*)*''' |
| 17 |
haystack = '''x''' |
| 18 |
matches = [[[0, 0], [0, 0]]] |
| 19 |
match-limit = 1 |
| 20 |
anchored = true |
| 21 |
|
| 22 |
[[test]] |
| 23 |
name = "nullsubexpr5" |
| 24 |
regex = '''(a*)*''' |
| 25 |
haystack = '''aaaaaa''' |
| 26 |
matches = [[[0, 6], [0, 6]]] |
| 27 |
match-limit = 1 |
| 28 |
anchored = true |
| 29 |
|
| 30 |
[[test]] |
| 31 |
name = "nullsubexpr6" |
| 32 |
regex = '''(a*)*''' |
| 33 |
haystack = '''aaaaaax''' |
| 34 |
matches = [[[0, 6], [0, 6]]] |
| 35 |
match-limit = 1 |
| 36 |
anchored = true |
| 37 |
|
| 38 |
[[test]] |
| 39 |
name = "nullsubexpr7" |
| 40 |
regex = '''(a*)+''' |
| 41 |
haystack = '''a''' |
| 42 |
matches = [[[0, 1], [0, 1]]] |
| 43 |
match-limit = 1 |
| 44 |
anchored = true |
| 45 |
|
| 46 |
[[test]] |
| 47 |
name = "nullsubexpr8" |
| 48 |
regex = '''(a*)+''' |
| 49 |
haystack = '''x''' |
| 50 |
matches = [[[0, 0], [0, 0]]] |
| 51 |
match-limit = 1 |
| 52 |
anchored = true |
| 53 |
|
| 54 |
[[test]] |
| 55 |
name = "nullsubexpr9" |
| 56 |
regex = '''(a*)+''' |
| 57 |
haystack = '''aaaaaa''' |
| 58 |
matches = [[[0, 6], [0, 6]]] |
| 59 |
match-limit = 1 |
| 60 |
anchored = true |
| 61 |
|
| 62 |
[[test]] |
| 63 |
name = "nullsubexpr10" |
| 64 |
regex = '''(a*)+''' |
| 65 |
haystack = '''aaaaaax''' |
| 66 |
matches = [[[0, 6], [0, 6]]] |
| 67 |
match-limit = 1 |
| 68 |
anchored = true |
| 69 |
|
| 70 |
[[test]] |
| 71 |
name = "nullsubexpr11" |
| 72 |
regex = '''(a+)*''' |
| 73 |
haystack = '''a''' |
| 74 |
matches = [[[0, 1], [0, 1]]] |
| 75 |
match-limit = 1 |
| 76 |
anchored = true |
| 77 |
|
| 78 |
[[test]] |
| 79 |
name = "nullsubexpr12" |
| 80 |
regex = '''(a+)*''' |
| 81 |
haystack = '''x''' |
| 82 |
matches = [[[0, 0], []]] |
| 83 |
match-limit = 1 |
| 84 |
anchored = true |
| 85 |
|
| 86 |
[[test]] |
| 87 |
name = "nullsubexpr13" |
| 88 |
regex = '''(a+)*''' |
| 89 |
haystack = '''aaaaaa''' |
| 90 |
matches = [[[0, 6], [0, 6]]] |
| 91 |
match-limit = 1 |
| 92 |
anchored = true |
| 93 |
|
| 94 |
[[test]] |
| 95 |
name = "nullsubexpr14" |
| 96 |
regex = '''(a+)*''' |
| 97 |
haystack = '''aaaaaax''' |
| 98 |
matches = [[[0, 6], [0, 6]]] |
| 99 |
match-limit = 1 |
| 100 |
anchored = true |
| 101 |
|
| 102 |
[[test]] |
| 103 |
name = "nullsubexpr15" |
| 104 |
regex = '''(a+)+''' |
| 105 |
haystack = '''a''' |
| 106 |
matches = [[[0, 1], [0, 1]]] |
| 107 |
match-limit = 1 |
| 108 |
anchored = true |
| 109 |
|
| 110 |
[[test]] |
| 111 |
name = "nullsubexpr16" |
| 112 |
regex = '''(a+)+''' |
| 113 |
haystack = '''x''' |
| 114 |
matches = [] |
| 115 |
match-limit = 1 |
| 116 |
|
| 117 |
[[test]] |
| 118 |
name = "nullsubexpr17" |
| 119 |
regex = '''(a+)+''' |
| 120 |
haystack = '''aaaaaa''' |
| 121 |
matches = [[[0, 6], [0, 6]]] |
| 122 |
match-limit = 1 |
| 123 |
anchored = true |
| 124 |
|
| 125 |
[[test]] |
| 126 |
name = "nullsubexpr18" |
| 127 |
regex = '''(a+)+''' |
| 128 |
haystack = '''aaaaaax''' |
| 129 |
matches = [[[0, 6], [0, 6]]] |
| 130 |
match-limit = 1 |
| 131 |
anchored = true |
| 132 |
|
| 133 |
[[test]] |
| 134 |
name = "nullsubexpr20" |
| 135 |
regex = '''([a]*)*''' |
| 136 |
haystack = '''a''' |
| 137 |
matches = [[[0, 1], [0, 1]]] |
| 138 |
match-limit = 1 |
| 139 |
anchored = true |
| 140 |
|
| 141 |
[[test]] |
| 142 |
name = "nullsubexpr21" |
| 143 |
regex = '''([a]*)*''' |
| 144 |
haystack = '''x''' |
| 145 |
matches = [[[0, 0], [0, 0]]] |
| 146 |
match-limit = 1 |
| 147 |
anchored = true |
| 148 |
|
| 149 |
[[test]] |
| 150 |
name = "nullsubexpr22" |
| 151 |
regex = '''([a]*)*''' |
| 152 |
haystack = '''aaaaaa''' |
| 153 |
matches = [[[0, 6], [0, 6]]] |
| 154 |
match-limit = 1 |
| 155 |
anchored = true |
| 156 |
|
| 157 |
[[test]] |
| 158 |
name = "nullsubexpr23" |
| 159 |
regex = '''([a]*)*''' |
| 160 |
haystack = '''aaaaaax''' |
| 161 |
matches = [[[0, 6], [0, 6]]] |
| 162 |
match-limit = 1 |
| 163 |
anchored = true |
| 164 |
|
| 165 |
[[test]] |
| 166 |
name = "nullsubexpr24" |
| 167 |
regex = '''([a]*)+''' |
| 168 |
haystack = '''a''' |
| 169 |
matches = [[[0, 1], [0, 1]]] |
| 170 |
match-limit = 1 |
| 171 |
anchored = true |
| 172 |
|
| 173 |
[[test]] |
| 174 |
name = "nullsubexpr25" |
| 175 |
regex = '''([a]*)+''' |
| 176 |
haystack = '''x''' |
| 177 |
matches = [[[0, 0], [0, 0]]] |
| 178 |
match-limit = 1 |
| 179 |
anchored = true |
| 180 |
|
| 181 |
[[test]] |
| 182 |
name = "nullsubexpr26" |
| 183 |
regex = '''([a]*)+''' |
| 184 |
haystack = '''aaaaaa''' |
| 185 |
matches = [[[0, 6], [0, 6]]] |
| 186 |
match-limit = 1 |
| 187 |
anchored = true |
| 188 |
|
| 189 |
[[test]] |
| 190 |
name = "nullsubexpr27" |
| 191 |
regex = '''([a]*)+''' |
| 192 |
haystack = '''aaaaaax''' |
| 193 |
matches = [[[0, 6], [0, 6]]] |
| 194 |
match-limit = 1 |
| 195 |
anchored = true |
| 196 |
|
| 197 |
[[test]] |
| 198 |
name = "nullsubexpr28" |
| 199 |
regex = '''([^b]*)*''' |
| 200 |
haystack = '''a''' |
| 201 |
matches = [[[0, 1], [0, 1]]] |
| 202 |
match-limit = 1 |
| 203 |
anchored = true |
| 204 |
|
| 205 |
[[test]] |
| 206 |
name = "nullsubexpr29" |
| 207 |
regex = '''([^b]*)*''' |
| 208 |
haystack = '''b''' |
| 209 |
matches = [[[0, 0], [0, 0]]] |
| 210 |
match-limit = 1 |
| 211 |
anchored = true |
| 212 |
|
| 213 |
[[test]] |
| 214 |
name = "nullsubexpr30" |
| 215 |
regex = '''([^b]*)*''' |
| 216 |
haystack = '''aaaaaa''' |
| 217 |
matches = [[[0, 6], [0, 6]]] |
| 218 |
match-limit = 1 |
| 219 |
anchored = true |
| 220 |
|
| 221 |
[[test]] |
| 222 |
name = "nullsubexpr31" |
| 223 |
regex = '''([^b]*)*''' |
| 224 |
haystack = '''aaaaaab''' |
| 225 |
matches = [[[0, 6], [0, 6]]] |
| 226 |
match-limit = 1 |
| 227 |
anchored = true |
| 228 |
|
| 229 |
[[test]] |
| 230 |
name = "nullsubexpr32" |
| 231 |
regex = '''([ab]*)*''' |
| 232 |
haystack = '''a''' |
| 233 |
matches = [[[0, 1], [0, 1]]] |
| 234 |
match-limit = 1 |
| 235 |
anchored = true |
| 236 |
|
| 237 |
[[test]] |
| 238 |
name = "nullsubexpr33" |
| 239 |
regex = '''([ab]*)*''' |
| 240 |
haystack = '''aaaaaa''' |
| 241 |
matches = [[[0, 6], [0, 6]]] |
| 242 |
match-limit = 1 |
| 243 |
anchored = true |
| 244 |
|
| 245 |
[[test]] |
| 246 |
name = "nullsubexpr34" |
| 247 |
regex = '''([ab]*)*''' |
| 248 |
haystack = '''ababab''' |
| 249 |
matches = [[[0, 6], [0, 6]]] |
| 250 |
match-limit = 1 |
| 251 |
anchored = true |
| 252 |
|
| 253 |
[[test]] |
| 254 |
name = "nullsubexpr35" |
| 255 |
regex = '''([ab]*)*''' |
| 256 |
haystack = '''bababa''' |
| 257 |
matches = [[[0, 6], [0, 6]]] |
| 258 |
match-limit = 1 |
| 259 |
anchored = true |
| 260 |
|
| 261 |
[[test]] |
| 262 |
name = "nullsubexpr36" |
| 263 |
regex = '''([ab]*)*''' |
| 264 |
haystack = '''b''' |
| 265 |
matches = [[[0, 1], [0, 1]]] |
| 266 |
match-limit = 1 |
| 267 |
anchored = true |
| 268 |
|
| 269 |
[[test]] |
| 270 |
name = "nullsubexpr37" |
| 271 |
regex = '''([ab]*)*''' |
| 272 |
haystack = '''bbbbbb''' |
| 273 |
matches = [[[0, 6], [0, 6]]] |
| 274 |
match-limit = 1 |
| 275 |
anchored = true |
| 276 |
|
| 277 |
[[test]] |
| 278 |
name = "nullsubexpr38" |
| 279 |
regex = '''([ab]*)*''' |
| 280 |
haystack = '''aaaabcde''' |
| 281 |
matches = [[[0, 5], [0, 5]]] |
| 282 |
match-limit = 1 |
| 283 |
anchored = true |
| 284 |
|
| 285 |
[[test]] |
| 286 |
name = "nullsubexpr39" |
| 287 |
regex = '''([^a]*)*''' |
| 288 |
haystack = '''b''' |
| 289 |
matches = [[[0, 1], [0, 1]]] |
| 290 |
match-limit = 1 |
| 291 |
anchored = true |
| 292 |
|
| 293 |
[[test]] |
| 294 |
name = "nullsubexpr40" |
| 295 |
regex = '''([^a]*)*''' |
| 296 |
haystack = '''bbbbbb''' |
| 297 |
matches = [[[0, 6], [0, 6]]] |
| 298 |
match-limit = 1 |
| 299 |
anchored = true |
| 300 |
|
| 301 |
[[test]] |
| 302 |
name = "nullsubexpr41" |
| 303 |
regex = '''([^a]*)*''' |
| 304 |
haystack = '''aaaaaa''' |
| 305 |
matches = [[[0, 0], [0, 0]]] |
| 306 |
match-limit = 1 |
| 307 |
anchored = true |
| 308 |
|
| 309 |
[[test]] |
| 310 |
name = "nullsubexpr42" |
| 311 |
regex = '''([^ab]*)*''' |
| 312 |
haystack = '''ccccxx''' |
| 313 |
matches = [[[0, 6], [0, 6]]] |
| 314 |
match-limit = 1 |
| 315 |
anchored = true |
| 316 |
|
| 317 |
[[test]] |
| 318 |
name = "nullsubexpr43" |
| 319 |
regex = '''([^ab]*)*''' |
| 320 |
haystack = '''ababab''' |
| 321 |
matches = [[[0, 0], [0, 0]]] |
| 322 |
match-limit = 1 |
| 323 |
anchored = true |
| 324 |
|
| 325 |
# Test added by Rust regex project. |
| 326 |
[[test]] |
| 327 |
name = "nullsubexpr46" |
| 328 |
regex = '''((z)+|a)*''' |
| 329 |
haystack = '''zabcde''' |
| 330 |
matches = [[[0, 2], [1, 2], [0, 1]]] |
| 331 |
match-limit = 1 |
| 332 |
anchored = true |
| 333 |
|
| 334 |
[[test]] |
| 335 |
name = "nullsubexpr64" |
| 336 |
regex = '''(a*)*(x)''' |
| 337 |
haystack = '''x''' |
| 338 |
matches = [[[0, 1], [0, 0], [0, 1]]] |
| 339 |
match-limit = 1 |
| 340 |
anchored = true |
| 341 |
|
| 342 |
[[test]] |
| 343 |
name = "nullsubexpr65" |
| 344 |
regex = '''(a*)*(x)''' |
| 345 |
haystack = '''ax''' |
| 346 |
matches = [[[0, 2], [0, 1], [1, 2]]] |
| 347 |
match-limit = 1 |
| 348 |
anchored = true |
| 349 |
|
| 350 |
[[test]] |
| 351 |
name = "nullsubexpr66" |
| 352 |
regex = '''(a*)*(x)''' |
| 353 |
haystack = '''axa''' |
| 354 |
matches = [[[0, 2], [0, 1], [1, 2]]] |
| 355 |
match-limit = 1 |
| 356 |
anchored = true |
| 357 |
|
| 358 |
[[test]] |
| 359 |
name = "nullsubexpr68" |
| 360 |
regex = '''(a*)+(x)''' |
| 361 |
haystack = '''x''' |
| 362 |
matches = [[[0, 1], [0, 0], [0, 1]]] |
| 363 |
match-limit = 1 |
| 364 |
anchored = true |
| 365 |
|
| 366 |
[[test]] |
| 367 |
name = "nullsubexpr69" |
| 368 |
regex = '''(a*)+(x)''' |
| 369 |
haystack = '''ax''' |
| 370 |
matches = [[[0, 2], [0, 1], [1, 2]]] |
| 371 |
match-limit = 1 |
| 372 |
anchored = true |
| 373 |
|
| 374 |
[[test]] |
| 375 |
name = "nullsubexpr70" |
| 376 |
regex = '''(a*)+(x)''' |
| 377 |
haystack = '''axa''' |
| 378 |
matches = [[[0, 2], [0, 1], [1, 2]]] |
| 379 |
match-limit = 1 |
| 380 |
anchored = true |
| 381 |
|
| 382 |
[[test]] |
| 383 |
name = "nullsubexpr72" |
| 384 |
regex = '''(a*){2}(x)''' |
| 385 |
haystack = '''x''' |
| 386 |
matches = [[[0, 1], [0, 0], [0, 1]]] |
| 387 |
match-limit = 1 |
| 388 |
anchored = true |
| 389 |
|
| 390 |
[[test]] |
| 391 |
name = "nullsubexpr73" |
| 392 |
regex = '''(a*){2}(x)''' |
| 393 |
haystack = '''ax''' |
| 394 |
matches = [[[0, 2], [1, 1], [1, 2]]] |
| 395 |
match-limit = 1 |
| 396 |
anchored = true |
| 397 |
|
| 398 |
[[test]] |
| 399 |
name = "nullsubexpr74" |
| 400 |
regex = '''(a*){2}(x)''' |
| 401 |
haystack = '''axa''' |
| 402 |
matches = [[[0, 2], [1, 1], [1, 2]]] |
| 403 |
match-limit = 1 |
| 404 |
anchored = true |
| 405 |
|