| 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 = "repetition10" |
| 8 |
regex = '''((..)|(.))''' |
| 9 |
haystack = '''''' |
| 10 |
matches = [] |
| 11 |
match-limit = 1 |
| 12 |
|
| 13 |
[[test]] |
| 14 |
name = "repetition11" |
| 15 |
regex = '''((..)|(.))((..)|(.))''' |
| 16 |
haystack = '''''' |
| 17 |
matches = [] |
| 18 |
match-limit = 1 |
| 19 |
|
| 20 |
[[test]] |
| 21 |
name = "repetition12" |
| 22 |
regex = '''((..)|(.))((..)|(.))((..)|(.))''' |
| 23 |
haystack = '''''' |
| 24 |
matches = [] |
| 25 |
match-limit = 1 |
| 26 |
|
| 27 |
[[test]] |
| 28 |
name = "repetition14" |
| 29 |
regex = '''((..)|(.)){1}''' |
| 30 |
haystack = '''''' |
| 31 |
matches = [] |
| 32 |
match-limit = 1 |
| 33 |
|
| 34 |
[[test]] |
| 35 |
name = "repetition15" |
| 36 |
regex = '''((..)|(.)){2}''' |
| 37 |
haystack = '''''' |
| 38 |
matches = [] |
| 39 |
match-limit = 1 |
| 40 |
|
| 41 |
[[test]] |
| 42 |
name = "repetition16" |
| 43 |
regex = '''((..)|(.)){3}''' |
| 44 |
haystack = '''''' |
| 45 |
matches = [] |
| 46 |
match-limit = 1 |
| 47 |
|
| 48 |
[[test]] |
| 49 |
name = "repetition18" |
| 50 |
regex = '''((..)|(.))*''' |
| 51 |
haystack = '''''' |
| 52 |
matches = [[[0, 0], [], [], []]] |
| 53 |
match-limit = 1 |
| 54 |
anchored = true |
| 55 |
|
| 56 |
[[test]] |
| 57 |
name = "repetition20" |
| 58 |
regex = '''((..)|(.))''' |
| 59 |
haystack = '''a''' |
| 60 |
matches = [[[0, 1], [0, 1], [], [0, 1]]] |
| 61 |
match-limit = 1 |
| 62 |
anchored = true |
| 63 |
|
| 64 |
[[test]] |
| 65 |
name = "repetition21" |
| 66 |
regex = '''((..)|(.))((..)|(.))''' |
| 67 |
haystack = '''a''' |
| 68 |
matches = [] |
| 69 |
match-limit = 1 |
| 70 |
|
| 71 |
[[test]] |
| 72 |
name = "repetition22" |
| 73 |
regex = '''((..)|(.))((..)|(.))((..)|(.))''' |
| 74 |
haystack = '''a''' |
| 75 |
matches = [] |
| 76 |
match-limit = 1 |
| 77 |
|
| 78 |
[[test]] |
| 79 |
name = "repetition24" |
| 80 |
regex = '''((..)|(.)){1}''' |
| 81 |
haystack = '''a''' |
| 82 |
matches = [[[0, 1], [0, 1], [], [0, 1]]] |
| 83 |
match-limit = 1 |
| 84 |
anchored = true |
| 85 |
|
| 86 |
[[test]] |
| 87 |
name = "repetition25" |
| 88 |
regex = '''((..)|(.)){2}''' |
| 89 |
haystack = '''a''' |
| 90 |
matches = [] |
| 91 |
match-limit = 1 |
| 92 |
|
| 93 |
[[test]] |
| 94 |
name = "repetition26" |
| 95 |
regex = '''((..)|(.)){3}''' |
| 96 |
haystack = '''a''' |
| 97 |
matches = [] |
| 98 |
match-limit = 1 |
| 99 |
|
| 100 |
[[test]] |
| 101 |
name = "repetition28" |
| 102 |
regex = '''((..)|(.))*''' |
| 103 |
haystack = '''a''' |
| 104 |
matches = [[[0, 1], [0, 1], [], [0, 1]]] |
| 105 |
match-limit = 1 |
| 106 |
anchored = true |
| 107 |
|
| 108 |
[[test]] |
| 109 |
name = "repetition30" |
| 110 |
regex = '''((..)|(.))''' |
| 111 |
haystack = '''aa''' |
| 112 |
matches = [[[0, 2], [0, 2], [0, 2], []]] |
| 113 |
match-limit = 1 |
| 114 |
anchored = true |
| 115 |
|
| 116 |
[[test]] |
| 117 |
name = "repetition31" |
| 118 |
regex = '''((..)|(.))((..)|(.))''' |
| 119 |
haystack = '''aa''' |
| 120 |
matches = [[[0, 2], [0, 1], [], [0, 1], [1, 2], [], [1, 2]]] |
| 121 |
match-limit = 1 |
| 122 |
anchored = true |
| 123 |
|
| 124 |
[[test]] |
| 125 |
name = "repetition32" |
| 126 |
regex = '''((..)|(.))((..)|(.))((..)|(.))''' |
| 127 |
haystack = '''aa''' |
| 128 |
matches = [] |
| 129 |
match-limit = 1 |
| 130 |
|
| 131 |
[[test]] |
| 132 |
name = "repetition34" |
| 133 |
regex = '''((..)|(.)){1}''' |
| 134 |
haystack = '''aa''' |
| 135 |
matches = [[[0, 2], [0, 2], [0, 2], []]] |
| 136 |
match-limit = 1 |
| 137 |
anchored = true |
| 138 |
|
| 139 |
[[test]] |
| 140 |
name = "repetition35" |
| 141 |
regex = '''((..)|(.)){2}''' |
| 142 |
haystack = '''aa''' |
| 143 |
matches = [[[0, 2], [1, 2], [], [1, 2]]] |
| 144 |
match-limit = 1 |
| 145 |
anchored = true |
| 146 |
|
| 147 |
[[test]] |
| 148 |
name = "repetition36" |
| 149 |
regex = '''((..)|(.)){3}''' |
| 150 |
haystack = '''aa''' |
| 151 |
matches = [] |
| 152 |
match-limit = 1 |
| 153 |
|
| 154 |
[[test]] |
| 155 |
name = "repetition38" |
| 156 |
regex = '''((..)|(.))*''' |
| 157 |
haystack = '''aa''' |
| 158 |
matches = [[[0, 2], [0, 2], [0, 2], []]] |
| 159 |
match-limit = 1 |
| 160 |
anchored = true |
| 161 |
|
| 162 |
[[test]] |
| 163 |
name = "repetition40" |
| 164 |
regex = '''((..)|(.))''' |
| 165 |
haystack = '''aaa''' |
| 166 |
matches = [[[0, 2], [0, 2], [0, 2], []]] |
| 167 |
match-limit = 1 |
| 168 |
anchored = true |
| 169 |
|
| 170 |
[[test]] |
| 171 |
name = "repetition41" |
| 172 |
regex = '''((..)|(.))((..)|(.))''' |
| 173 |
haystack = '''aaa''' |
| 174 |
matches = [[[0, 3], [0, 2], [0, 2], [], [2, 3], [], [2, 3]]] |
| 175 |
match-limit = 1 |
| 176 |
anchored = true |
| 177 |
|
| 178 |
[[test]] |
| 179 |
name = "repetition42" |
| 180 |
regex = '''((..)|(.))((..)|(.))((..)|(.))''' |
| 181 |
haystack = '''aaa''' |
| 182 |
matches = [[[0, 3], [0, 1], [], [0, 1], [1, 2], [], [1, 2], [2, 3], [], [2, 3]]] |
| 183 |
match-limit = 1 |
| 184 |
anchored = true |
| 185 |
|
| 186 |
[[test]] |
| 187 |
name = "repetition44" |
| 188 |
regex = '''((..)|(.)){1}''' |
| 189 |
haystack = '''aaa''' |
| 190 |
matches = [[[0, 2], [0, 2], [0, 2], []]] |
| 191 |
match-limit = 1 |
| 192 |
anchored = true |
| 193 |
|
| 194 |
# Test added by RE2/Go project. |
| 195 |
[[test]] |
| 196 |
name = "repetition46" |
| 197 |
regex = '''((..)|(.)){2}''' |
| 198 |
haystack = '''aaa''' |
| 199 |
matches = [[[0, 3], [2, 3], [0, 2], [2, 3]]] |
| 200 |
match-limit = 1 |
| 201 |
anchored = true |
| 202 |
|
| 203 |
[[test]] |
| 204 |
name = "repetition47" |
| 205 |
regex = '''((..)|(.)){3}''' |
| 206 |
haystack = '''aaa''' |
| 207 |
matches = [[[0, 3], [2, 3], [], [2, 3]]] |
| 208 |
match-limit = 1 |
| 209 |
anchored = true |
| 210 |
|
| 211 |
# Test added by RE2/Go project. |
| 212 |
[[test]] |
| 213 |
name = "repetition50" |
| 214 |
regex = '''((..)|(.))*''' |
| 215 |
haystack = '''aaa''' |
| 216 |
matches = [[[0, 3], [2, 3], [0, 2], [2, 3]]] |
| 217 |
match-limit = 1 |
| 218 |
anchored = true |
| 219 |
|
| 220 |
[[test]] |
| 221 |
name = "repetition52" |
| 222 |
regex = '''((..)|(.))''' |
| 223 |
haystack = '''aaaa''' |
| 224 |
matches = [[[0, 2], [0, 2], [0, 2], []]] |
| 225 |
match-limit = 1 |
| 226 |
anchored = true |
| 227 |
|
| 228 |
[[test]] |
| 229 |
name = "repetition53" |
| 230 |
regex = '''((..)|(.))((..)|(.))''' |
| 231 |
haystack = '''aaaa''' |
| 232 |
matches = [[[0, 4], [0, 2], [0, 2], [], [2, 4], [2, 4], []]] |
| 233 |
match-limit = 1 |
| 234 |
anchored = true |
| 235 |
|
| 236 |
[[test]] |
| 237 |
name = "repetition54" |
| 238 |
regex = '''((..)|(.))((..)|(.))((..)|(.))''' |
| 239 |
haystack = '''aaaa''' |
| 240 |
matches = [[[0, 4], [0, 2], [0, 2], [], [2, 3], [], [2, 3], [3, 4], [], [3, 4]]] |
| 241 |
match-limit = 1 |
| 242 |
anchored = true |
| 243 |
|
| 244 |
[[test]] |
| 245 |
name = "repetition56" |
| 246 |
regex = '''((..)|(.)){1}''' |
| 247 |
haystack = '''aaaa''' |
| 248 |
matches = [[[0, 2], [0, 2], [0, 2], []]] |
| 249 |
match-limit = 1 |
| 250 |
anchored = true |
| 251 |
|
| 252 |
[[test]] |
| 253 |
name = "repetition57" |
| 254 |
regex = '''((..)|(.)){2}''' |
| 255 |
haystack = '''aaaa''' |
| 256 |
matches = [[[0, 4], [2, 4], [2, 4], []]] |
| 257 |
match-limit = 1 |
| 258 |
anchored = true |
| 259 |
|
| 260 |
# Test added by RE2/Go project. |
| 261 |
[[test]] |
| 262 |
name = "repetition59" |
| 263 |
regex = '''((..)|(.)){3}''' |
| 264 |
haystack = '''aaaa''' |
| 265 |
matches = [[[0, 4], [3, 4], [0, 2], [3, 4]]] |
| 266 |
match-limit = 1 |
| 267 |
anchored = true |
| 268 |
|
| 269 |
[[test]] |
| 270 |
name = "repetition61" |
| 271 |
regex = '''((..)|(.))*''' |
| 272 |
haystack = '''aaaa''' |
| 273 |
matches = [[[0, 4], [2, 4], [2, 4], []]] |
| 274 |
match-limit = 1 |
| 275 |
anchored = true |
| 276 |
|
| 277 |
[[test]] |
| 278 |
name = "repetition63" |
| 279 |
regex = '''((..)|(.))''' |
| 280 |
haystack = '''aaaaa''' |
| 281 |
matches = [[[0, 2], [0, 2], [0, 2], []]] |
| 282 |
match-limit = 1 |
| 283 |
anchored = true |
| 284 |
|
| 285 |
[[test]] |
| 286 |
name = "repetition64" |
| 287 |
regex = '''((..)|(.))((..)|(.))''' |
| 288 |
haystack = '''aaaaa''' |
| 289 |
matches = [[[0, 4], [0, 2], [0, 2], [], [2, 4], [2, 4], []]] |
| 290 |
match-limit = 1 |
| 291 |
anchored = true |
| 292 |
|
| 293 |
[[test]] |
| 294 |
name = "repetition65" |
| 295 |
regex = '''((..)|(.))((..)|(.))((..)|(.))''' |
| 296 |
haystack = '''aaaaa''' |
| 297 |
matches = [[[0, 5], [0, 2], [0, 2], [], [2, 4], [2, 4], [], [4, 5], [], [4, 5]]] |
| 298 |
match-limit = 1 |
| 299 |
anchored = true |
| 300 |
|
| 301 |
[[test]] |
| 302 |
name = "repetition67" |
| 303 |
regex = '''((..)|(.)){1}''' |
| 304 |
haystack = '''aaaaa''' |
| 305 |
matches = [[[0, 2], [0, 2], [0, 2], []]] |
| 306 |
match-limit = 1 |
| 307 |
anchored = true |
| 308 |
|
| 309 |
[[test]] |
| 310 |
name = "repetition68" |
| 311 |
regex = '''((..)|(.)){2}''' |
| 312 |
haystack = '''aaaaa''' |
| 313 |
matches = [[[0, 4], [2, 4], [2, 4], []]] |
| 314 |
match-limit = 1 |
| 315 |
anchored = true |
| 316 |
|
| 317 |
# Test added by RE2/Go project. |
| 318 |
[[test]] |
| 319 |
name = "repetition70" |
| 320 |
regex = '''((..)|(.)){3}''' |
| 321 |
haystack = '''aaaaa''' |
| 322 |
matches = [[[0, 5], [4, 5], [2, 4], [4, 5]]] |
| 323 |
match-limit = 1 |
| 324 |
anchored = true |
| 325 |
|
| 326 |
# Test added by RE2/Go project. |
| 327 |
[[test]] |
| 328 |
name = "repetition73" |
| 329 |
regex = '''((..)|(.))*''' |
| 330 |
haystack = '''aaaaa''' |
| 331 |
matches = [[[0, 5], [4, 5], [2, 4], [4, 5]]] |
| 332 |
match-limit = 1 |
| 333 |
anchored = true |
| 334 |
|
| 335 |
[[test]] |
| 336 |
name = "repetition75" |
| 337 |
regex = '''((..)|(.))''' |
| 338 |
haystack = '''aaaaaa''' |
| 339 |
matches = [[[0, 2], [0, 2], [0, 2], []]] |
| 340 |
match-limit = 1 |
| 341 |
anchored = true |
| 342 |
|
| 343 |
[[test]] |
| 344 |
name = "repetition76" |
| 345 |
regex = '''((..)|(.))((..)|(.))''' |
| 346 |
haystack = '''aaaaaa''' |
| 347 |
matches = [[[0, 4], [0, 2], [0, 2], [], [2, 4], [2, 4], []]] |
| 348 |
match-limit = 1 |
| 349 |
anchored = true |
| 350 |
|
| 351 |
[[test]] |
| 352 |
name = "repetition77" |
| 353 |
regex = '''((..)|(.))((..)|(.))((..)|(.))''' |
| 354 |
haystack = '''aaaaaa''' |
| 355 |
matches = [[[0, 6], [0, 2], [0, 2], [], [2, 4], [2, 4], [], [4, 6], [4, 6], []]] |
| 356 |
match-limit = 1 |
| 357 |
anchored = true |
| 358 |
|
| 359 |
[[test]] |
| 360 |
name = "repetition79" |
| 361 |
regex = '''((..)|(.)){1}''' |
| 362 |
haystack = '''aaaaaa''' |
| 363 |
matches = [[[0, 2], [0, 2], [0, 2], []]] |
| 364 |
match-limit = 1 |
| 365 |
anchored = true |
| 366 |
|
| 367 |
[[test]] |
| 368 |
name = "repetition80" |
| 369 |
regex = '''((..)|(.)){2}''' |
| 370 |
haystack = '''aaaaaa''' |
| 371 |
matches = [[[0, 4], [2, 4], [2, 4], []]] |
| 372 |
match-limit = 1 |
| 373 |
anchored = true |
| 374 |
|
| 375 |
[[test]] |
| 376 |
name = "repetition81" |
| 377 |
regex = '''((..)|(.)){3}''' |
| 378 |
haystack = '''aaaaaa''' |
| 379 |
matches = [[[0, 6], [4, 6], [4, 6], []]] |
| 380 |
match-limit = 1 |
| 381 |
anchored = true |
| 382 |
|
| 383 |
[[test]] |
| 384 |
name = "repetition83" |
| 385 |
regex = '''((..)|(.))*''' |
| 386 |
haystack = '''aaaaaa''' |
| 387 |
matches = [[[0, 6], [4, 6], [4, 6], []]] |
| 388 |
match-limit = 1 |
| 389 |
anchored = true |
| 390 |
|
| 391 |
[[test]] |
| 392 |
name = "repetition-expensive90" |
| 393 |
regex = '''X(.?){0,}Y''' |
| 394 |
haystack = '''X1234567Y''' |
| 395 |
matches = [[[0, 9], [7, 8]]] |
| 396 |
match-limit = 1 |
| 397 |
anchored = true |
| 398 |
|
| 399 |
[[test]] |
| 400 |
name = "repetition-expensive91" |
| 401 |
regex = '''X(.?){1,}Y''' |
| 402 |
haystack = '''X1234567Y''' |
| 403 |
matches = [[[0, 9], [7, 8]]] |
| 404 |
match-limit = 1 |
| 405 |
anchored = true |
| 406 |
|
| 407 |
[[test]] |
| 408 |
name = "repetition-expensive92" |
| 409 |
regex = '''X(.?){2,}Y''' |
| 410 |
haystack = '''X1234567Y''' |
| 411 |
matches = [[[0, 9], [7, 8]]] |
| 412 |
match-limit = 1 |
| 413 |
anchored = true |
| 414 |
|
| 415 |
[[test]] |
| 416 |
name = "repetition-expensive93" |
| 417 |
regex = '''X(.?){3,}Y''' |
| 418 |
haystack = '''X1234567Y''' |
| 419 |
matches = [[[0, 9], [7, 8]]] |
| 420 |
match-limit = 1 |
| 421 |
anchored = true |
| 422 |
|
| 423 |
[[test]] |
| 424 |
name = "repetition-expensive94" |
| 425 |
regex = '''X(.?){4,}Y''' |
| 426 |
haystack = '''X1234567Y''' |
| 427 |
matches = [[[0, 9], [7, 8]]] |
| 428 |
match-limit = 1 |
| 429 |
anchored = true |
| 430 |
|
| 431 |
[[test]] |
| 432 |
name = "repetition-expensive95" |
| 433 |
regex = '''X(.?){5,}Y''' |
| 434 |
haystack = '''X1234567Y''' |
| 435 |
matches = [[[0, 9], [7, 8]]] |
| 436 |
match-limit = 1 |
| 437 |
anchored = true |
| 438 |
|
| 439 |
[[test]] |
| 440 |
name = "repetition-expensive96" |
| 441 |
regex = '''X(.?){6,}Y''' |
| 442 |
haystack = '''X1234567Y''' |
| 443 |
matches = [[[0, 9], [7, 8]]] |
| 444 |
match-limit = 1 |
| 445 |
anchored = true |
| 446 |
|
| 447 |
[[test]] |
| 448 |
name = "repetition-expensive97" |
| 449 |
regex = '''X(.?){7,}Y''' |
| 450 |
haystack = '''X1234567Y''' |
| 451 |
matches = [[[0, 9], [7, 8]]] |
| 452 |
match-limit = 1 |
| 453 |
anchored = true |
| 454 |
|
| 455 |
[[test]] |
| 456 |
name = "repetition-expensive98" |
| 457 |
regex = '''X(.?){8,}Y''' |
| 458 |
haystack = '''X1234567Y''' |
| 459 |
matches = [[[0, 9], [8, 8]]] |
| 460 |
match-limit = 1 |
| 461 |
anchored = true |
| 462 |
|
| 463 |
# Test added by RE2/Go project. |
| 464 |
[[test]] |
| 465 |
name = "repetition-expensive100" |
| 466 |
regex = '''X(.?){0,8}Y''' |
| 467 |
haystack = '''X1234567Y''' |
| 468 |
matches = [[[0, 9], [8, 8]]] |
| 469 |
match-limit = 1 |
| 470 |
anchored = true |
| 471 |
|
| 472 |
# Test added by RE2/Go project. |
| 473 |
[[test]] |
| 474 |
name = "repetition-expensive102" |
| 475 |
regex = '''X(.?){1,8}Y''' |
| 476 |
haystack = '''X1234567Y''' |
| 477 |
matches = [[[0, 9], [8, 8]]] |
| 478 |
match-limit = 1 |
| 479 |
anchored = true |
| 480 |
|
| 481 |
# Test added by RE2/Go project. |
| 482 |
[[test]] |
| 483 |
name = "repetition-expensive104" |
| 484 |
regex = '''X(.?){2,8}Y''' |
| 485 |
haystack = '''X1234567Y''' |
| 486 |
matches = [[[0, 9], [8, 8]]] |
| 487 |
match-limit = 1 |
| 488 |
anchored = true |
| 489 |
|
| 490 |
# Test added by RE2/Go project. |
| 491 |
[[test]] |
| 492 |
name = "repetition-expensive106" |
| 493 |
regex = '''X(.?){3,8}Y''' |
| 494 |
haystack = '''X1234567Y''' |
| 495 |
matches = [[[0, 9], [8, 8]]] |
| 496 |
match-limit = 1 |
| 497 |
anchored = true |
| 498 |
|
| 499 |
# Test added by RE2/Go project. |
| 500 |
[[test]] |
| 501 |
name = "repetition-expensive108" |
| 502 |
regex = '''X(.?){4,8}Y''' |
| 503 |
haystack = '''X1234567Y''' |
| 504 |
matches = [[[0, 9], [8, 8]]] |
| 505 |
match-limit = 1 |
| 506 |
anchored = true |
| 507 |
|
| 508 |
# Test added by RE2/Go project. |
| 509 |
[[test]] |
| 510 |
name = "repetition-expensive110" |
| 511 |
regex = '''X(.?){5,8}Y''' |
| 512 |
haystack = '''X1234567Y''' |
| 513 |
matches = [[[0, 9], [8, 8]]] |
| 514 |
match-limit = 1 |
| 515 |
anchored = true |
| 516 |
|
| 517 |
# Test added by RE2/Go project. |
| 518 |
[[test]] |
| 519 |
name = "repetition-expensive112" |
| 520 |
regex = '''X(.?){6,8}Y''' |
| 521 |
haystack = '''X1234567Y''' |
| 522 |
matches = [[[0, 9], [8, 8]]] |
| 523 |
match-limit = 1 |
| 524 |
anchored = true |
| 525 |
|
| 526 |
# Test added by RE2/Go project. |
| 527 |
[[test]] |
| 528 |
name = "repetition-expensive114" |
| 529 |
regex = '''X(.?){7,8}Y''' |
| 530 |
haystack = '''X1234567Y''' |
| 531 |
matches = [[[0, 9], [8, 8]]] |
| 532 |
match-limit = 1 |
| 533 |
anchored = true |
| 534 |
|
| 535 |
[[test]] |
| 536 |
name = "repetition-expensive115" |
| 537 |
regex = '''X(.?){8,8}Y''' |
| 538 |
haystack = '''X1234567Y''' |
| 539 |
matches = [[[0, 9], [8, 8]]] |
| 540 |
match-limit = 1 |
| 541 |
anchored = true |
| 542 |
|
| 543 |
# Test added by Rust regex project. |
| 544 |
[[test]] |
| 545 |
name = "repetition-expensive127" |
| 546 |
regex = '''(a|ab|c|bcd){0,}(d*)''' |
| 547 |
haystack = '''ababcd''' |
| 548 |
matches = [[[0, 1], [0, 1], [1, 1]]] |
| 549 |
match-limit = 1 |
| 550 |
anchored = true |
| 551 |
|
| 552 |
# Test added by Rust regex project. |
| 553 |
[[test]] |
| 554 |
name = "repetition-expensive129" |
| 555 |
regex = '''(a|ab|c|bcd){1,}(d*)''' |
| 556 |
haystack = '''ababcd''' |
| 557 |
matches = [[[0, 1], [0, 1], [1, 1]]] |
| 558 |
match-limit = 1 |
| 559 |
anchored = true |
| 560 |
|
| 561 |
[[test]] |
| 562 |
name = "repetition-expensive130" |
| 563 |
regex = '''(a|ab|c|bcd){2,}(d*)''' |
| 564 |
haystack = '''ababcd''' |
| 565 |
matches = [[[0, 6], [3, 6], [6, 6]]] |
| 566 |
match-limit = 1 |
| 567 |
anchored = true |
| 568 |
|
| 569 |
[[test]] |
| 570 |
name = "repetition-expensive131" |
| 571 |
regex = '''(a|ab|c|bcd){3,}(d*)''' |
| 572 |
haystack = '''ababcd''' |
| 573 |
matches = [[[0, 6], [3, 6], [6, 6]]] |
| 574 |
match-limit = 1 |
| 575 |
anchored = true |
| 576 |
|
| 577 |
[[test]] |
| 578 |
name = "repetition-expensive132" |
| 579 |
regex = '''(a|ab|c|bcd){4,}(d*)''' |
| 580 |
haystack = '''ababcd''' |
| 581 |
matches = [] |
| 582 |
match-limit = 1 |
| 583 |
|
| 584 |
# Test added by Rust regex project. |
| 585 |
[[test]] |
| 586 |
name = "repetition-expensive134" |
| 587 |
regex = '''(a|ab|c|bcd){0,10}(d*)''' |
| 588 |
haystack = '''ababcd''' |
| 589 |
matches = [[[0, 1], [0, 1], [1, 1]]] |
| 590 |
match-limit = 1 |
| 591 |
anchored = true |
| 592 |
|
| 593 |
# Test added by Rust regex project. |
| 594 |
[[test]] |
| 595 |
name = "repetition-expensive136" |
| 596 |
regex = '''(a|ab|c|bcd){1,10}(d*)''' |
| 597 |
haystack = '''ababcd''' |
| 598 |
matches = [[[0, 1], [0, 1], [1, 1]]] |
| 599 |
match-limit = 1 |
| 600 |
anchored = true |
| 601 |
|
| 602 |
[[test]] |
| 603 |
name = "repetition-expensive137" |
| 604 |
regex = '''(a|ab|c|bcd){2,10}(d*)''' |
| 605 |
haystack = '''ababcd''' |
| 606 |
matches = [[[0, 6], [3, 6], [6, 6]]] |
| 607 |
match-limit = 1 |
| 608 |
anchored = true |
| 609 |
|
| 610 |
[[test]] |
| 611 |
name = "repetition-expensive138" |
| 612 |
regex = '''(a|ab|c|bcd){3,10}(d*)''' |
| 613 |
haystack = '''ababcd''' |
| 614 |
matches = [[[0, 6], [3, 6], [6, 6]]] |
| 615 |
match-limit = 1 |
| 616 |
anchored = true |
| 617 |
|
| 618 |
[[test]] |
| 619 |
name = "repetition-expensive139" |
| 620 |
regex = '''(a|ab|c|bcd){4,10}(d*)''' |
| 621 |
haystack = '''ababcd''' |
| 622 |
matches = [] |
| 623 |
match-limit = 1 |
| 624 |
|
| 625 |
# Test added by Rust regex project. |
| 626 |
[[test]] |
| 627 |
name = "repetition-expensive141" |
| 628 |
regex = '''(a|ab|c|bcd)*(d*)''' |
| 629 |
haystack = '''ababcd''' |
| 630 |
matches = [[[0, 1], [0, 1], [1, 1]]] |
| 631 |
match-limit = 1 |
| 632 |
anchored = true |
| 633 |
|
| 634 |
# Test added by Rust regex project. |
| 635 |
[[test]] |
| 636 |
name = "repetition-expensive143" |
| 637 |
regex = '''(a|ab|c|bcd)+(d*)''' |
| 638 |
haystack = '''ababcd''' |
| 639 |
matches = [[[0, 1], [0, 1], [1, 1]]] |
| 640 |
match-limit = 1 |
| 641 |
anchored = true |
| 642 |
|
| 643 |
# Test added by RE2/Go project. |
| 644 |
[[test]] |
| 645 |
name = "repetition-expensive149" |
| 646 |
regex = '''(ab|a|c|bcd){0,}(d*)''' |
| 647 |
haystack = '''ababcd''' |
| 648 |
matches = [[[0, 6], [4, 5], [5, 6]]] |
| 649 |
match-limit = 1 |
| 650 |
anchored = true |
| 651 |
|
| 652 |
# Test added by RE2/Go project. |
| 653 |
[[test]] |
| 654 |
name = "repetition-expensive151" |
| 655 |
regex = '''(ab|a|c|bcd){1,}(d*)''' |
| 656 |
haystack = '''ababcd''' |
| 657 |
matches = [[[0, 6], [4, 5], [5, 6]]] |
| 658 |
match-limit = 1 |
| 659 |
anchored = true |
| 660 |
|
| 661 |
# Test added by RE2/Go project. |
| 662 |
[[test]] |
| 663 |
name = "repetition-expensive153" |
| 664 |
regex = '''(ab|a|c|bcd){2,}(d*)''' |
| 665 |
haystack = '''ababcd''' |
| 666 |
matches = [[[0, 6], [4, 5], [5, 6]]] |
| 667 |
match-limit = 1 |
| 668 |
anchored = true |
| 669 |
|
| 670 |
# Test added by RE2/Go project. |
| 671 |
[[test]] |
| 672 |
name = "repetition-expensive155" |
| 673 |
regex = '''(ab|a|c|bcd){3,}(d*)''' |
| 674 |
haystack = '''ababcd''' |
| 675 |
matches = [[[0, 6], [4, 5], [5, 6]]] |
| 676 |
match-limit = 1 |
| 677 |
anchored = true |
| 678 |
|
| 679 |
[[test]] |
| 680 |
name = "repetition-expensive156" |
| 681 |
regex = '''(ab|a|c|bcd){4,}(d*)''' |
| 682 |
haystack = '''ababcd''' |
| 683 |
matches = [] |
| 684 |
match-limit = 1 |
| 685 |
|
| 686 |
# Test added by RE2/Go project. |
| 687 |
[[test]] |
| 688 |
name = "repetition-expensive158" |
| 689 |
regex = '''(ab|a|c|bcd){0,10}(d*)''' |
| 690 |
haystack = '''ababcd''' |
| 691 |
matches = [[[0, 6], [4, 5], [5, 6]]] |
| 692 |
match-limit = 1 |
| 693 |
anchored = true |
| 694 |
|
| 695 |
# Test added by RE2/Go project. |
| 696 |
[[test]] |
| 697 |
name = "repetition-expensive160" |
| 698 |
regex = '''(ab|a|c|bcd){1,10}(d*)''' |
| 699 |
haystack = '''ababcd''' |
| 700 |
matches = [[[0, 6], [4, 5], [5, 6]]] |
| 701 |
match-limit = 1 |
| 702 |
anchored = true |
| 703 |
|
| 704 |
# Test added by RE2/Go project. |
| 705 |
[[test]] |
| 706 |
name = "repetition-expensive162" |
| 707 |
regex = '''(ab|a|c|bcd){2,10}(d*)''' |
| 708 |
haystack = '''ababcd''' |
| 709 |
matches = [[[0, 6], [4, 5], [5, 6]]] |
| 710 |
match-limit = 1 |
| 711 |
anchored = true |
| 712 |
|
| 713 |
# Test added by RE2/Go project. |
| 714 |
[[test]] |
| 715 |
name = "repetition-expensive164" |
| 716 |
regex = '''(ab|a|c|bcd){3,10}(d*)''' |
| 717 |
haystack = '''ababcd''' |
| 718 |
matches = [[[0, 6], [4, 5], [5, 6]]] |
| 719 |
match-limit = 1 |
| 720 |
anchored = true |
| 721 |
|
| 722 |
[[test]] |
| 723 |
name = "repetition-expensive165" |
| 724 |
regex = '''(ab|a|c|bcd){4,10}(d*)''' |
| 725 |
haystack = '''ababcd''' |
| 726 |
matches = [] |
| 727 |
match-limit = 1 |
| 728 |
|
| 729 |
# Test added by RE2/Go project. |
| 730 |
[[test]] |
| 731 |
name = "repetition-expensive167" |
| 732 |
regex = '''(ab|a|c|bcd)*(d*)''' |
| 733 |
haystack = '''ababcd''' |
| 734 |
matches = [[[0, 6], [4, 5], [5, 6]]] |
| 735 |
match-limit = 1 |
| 736 |
anchored = true |
| 737 |
|
| 738 |
# Test added by RE2/Go project. |
| 739 |
[[test]] |
| 740 |
name = "repetition-expensive169" |
| 741 |
regex = '''(ab|a|c|bcd)+(d*)''' |
| 742 |
haystack = '''ababcd''' |
| 743 |
matches = [[[0, 6], [4, 5], [5, 6]]] |
| 744 |
match-limit = 1 |
| 745 |
anchored = true |
| 746 |
|