| 1 |
PCRE version 2.08 31-Aug-1999
|
| 2 |
|
| 3 |
/(a)b|/
|
| 4 |
Identifying subpattern count = 1
|
| 5 |
No options
|
| 6 |
No first char
|
| 7 |
No req char
|
| 8 |
|
| 9 |
/abc/
|
| 10 |
Identifying subpattern count = 0
|
| 11 |
No options
|
| 12 |
First char = 'a'
|
| 13 |
Req char = 'c'
|
| 14 |
abc
|
| 15 |
0: abc
|
| 16 |
defabc
|
| 17 |
0: abc
|
| 18 |
\Aabc
|
| 19 |
0: abc
|
| 20 |
*** Failers
|
| 21 |
No match
|
| 22 |
\Adefabc
|
| 23 |
No match
|
| 24 |
ABC
|
| 25 |
No match
|
| 26 |
|
| 27 |
/^abc/
|
| 28 |
Identifying subpattern count = 0
|
| 29 |
Options: anchored
|
| 30 |
No first char
|
| 31 |
Req char = 'c'
|
| 32 |
abc
|
| 33 |
0: abc
|
| 34 |
\Aabc
|
| 35 |
0: abc
|
| 36 |
*** Failers
|
| 37 |
No match
|
| 38 |
defabc
|
| 39 |
No match
|
| 40 |
\Adefabc
|
| 41 |
No match
|
| 42 |
|
| 43 |
/a+bc/
|
| 44 |
Identifying subpattern count = 0
|
| 45 |
No options
|
| 46 |
First char = 'a'
|
| 47 |
Req char = 'c'
|
| 48 |
|
| 49 |
/a*bc/
|
| 50 |
Identifying subpattern count = 0
|
| 51 |
No options
|
| 52 |
No first char
|
| 53 |
Req char = 'c'
|
| 54 |
|
| 55 |
/a{3}bc/
|
| 56 |
Identifying subpattern count = 0
|
| 57 |
No options
|
| 58 |
First char = 'a'
|
| 59 |
Req char = 'c'
|
| 60 |
|
| 61 |
/(abc|a+z)/
|
| 62 |
Identifying subpattern count = 1
|
| 63 |
No options
|
| 64 |
First char = 'a'
|
| 65 |
No req char
|
| 66 |
|
| 67 |
/^abc$/
|
| 68 |
Identifying subpattern count = 0
|
| 69 |
Options: anchored
|
| 70 |
No first char
|
| 71 |
Req char = 'c'
|
| 72 |
abc
|
| 73 |
0: abc
|
| 74 |
*** Failers
|
| 75 |
No match
|
| 76 |
def\nabc
|
| 77 |
No match
|
| 78 |
|
| 79 |
/ab\gdef/X
|
| 80 |
Failed: unrecognized character follows \ at offset 3
|
| 81 |
|
| 82 |
/(?X)ab\gdef/X
|
| 83 |
Failed: unrecognized character follows \ at offset 7
|
| 84 |
|
| 85 |
/x{5,4}/
|
| 86 |
Failed: numbers out of order in {} quantifier at offset 5
|
| 87 |
|
| 88 |
/z{65536}/
|
| 89 |
Failed: number too big in {} quantifier at offset 7
|
| 90 |
|
| 91 |
/[abcd/
|
| 92 |
Failed: missing terminating ] for character class at offset 5
|
| 93 |
|
| 94 |
/[\B]/
|
| 95 |
Failed: invalid escape sequence in character class at offset 2
|
| 96 |
|
| 97 |
/[a-\w]/
|
| 98 |
Failed: invalid escape sequence in character class at offset 4
|
| 99 |
|
| 100 |
/[z-a]/
|
| 101 |
Failed: range out of order in character class at offset 3
|
| 102 |
|
| 103 |
/^*/
|
| 104 |
Failed: nothing to repeat at offset 1
|
| 105 |
|
| 106 |
/(abc/
|
| 107 |
Failed: missing ) at offset 4
|
| 108 |
|
| 109 |
/(?# abc/
|
| 110 |
Failed: missing ) after comment at offset 7
|
| 111 |
|
| 112 |
/(?z)abc/
|
| 113 |
Failed: unrecognized character after (? at offset 2
|
| 114 |
|
| 115 |
/.*b/
|
| 116 |
Identifying subpattern count = 0
|
| 117 |
No options
|
| 118 |
First char at start or follows \n
|
| 119 |
Req char = 'b'
|
| 120 |
|
| 121 |
/.*?b/
|
| 122 |
Identifying subpattern count = 0
|
| 123 |
No options
|
| 124 |
First char at start or follows \n
|
| 125 |
Req char = 'b'
|
| 126 |
|
| 127 |
/cat|dog|elephant/
|
| 128 |
Identifying subpattern count = 0
|
| 129 |
No options
|
| 130 |
No first char
|
| 131 |
No req char
|
| 132 |
this sentence eventually mentions a cat
|
| 133 |
0: cat
|
| 134 |
this sentences rambles on and on for a while and then reaches elephant
|
| 135 |
0: elephant
|
| 136 |
|
| 137 |
/cat|dog|elephant/S
|
| 138 |
Identifying subpattern count = 0
|
| 139 |
No options
|
| 140 |
No first char
|
| 141 |
No req char
|
| 142 |
Starting character set: c d e
|
| 143 |
this sentence eventually mentions a cat
|
| 144 |
0: cat
|
| 145 |
this sentences rambles on and on for a while and then reaches elephant
|
| 146 |
0: elephant
|
| 147 |
|
| 148 |
/cat|dog|elephant/iS
|
| 149 |
Identifying subpattern count = 0
|
| 150 |
Options: caseless
|
| 151 |
No first char
|
| 152 |
No req char
|
| 153 |
Starting character set: C D E c d e
|
| 154 |
this sentence eventually mentions a CAT cat
|
| 155 |
0: CAT
|
| 156 |
this sentences rambles on and on for a while to elephant ElePhant
|
| 157 |
0: elephant
|
| 158 |
|
| 159 |
/a|[bcd]/S
|
| 160 |
Identifying subpattern count = 0
|
| 161 |
No options
|
| 162 |
No first char
|
| 163 |
No req char
|
| 164 |
Starting character set: a b c d
|
| 165 |
|
| 166 |
/(a|[^\dZ])/S
|
| 167 |
Identifying subpattern count = 1
|
| 168 |
No options
|
| 169 |
No first char
|
| 170 |
No req char
|
| 171 |
Starting character set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
|
| 172 |
\x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
|
| 173 |
\x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / : ; < = >
|
| 174 |
? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y [ \ ] ^ _ ` a b c d
|
| 175 |
e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f \x80 \x81 \x82 \x83
|
| 176 |
\x84 \x85 \x86 \x87 \x88 \x89 \x8a \x8b \x8c \x8d \x8e \x8f \x90 \x91 \x92
|
| 177 |
\x93 \x94 \x95 \x96 \x97 \x98 \x99 \x9a \x9b \x9c \x9d \x9e \x9f \xa0 \xa1
|
| 178 |
\xa2 \xa3 \xa4 \xa5 \xa6 \xa7 \xa8 \xa9 \xaa \xab \xac \xad \xae \xaf \xb0
|
| 179 |
\xb1 \xb2 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb \xbc \xbd \xbe \xbf
|
| 180 |
\xc0 \xc1 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce
|
| 181 |
\xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd
|
| 182 |
\xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec
|
| 183 |
\xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb
|
| 184 |
\xfc \xfd \xfe \xff
|
| 185 |
|
| 186 |
/(a|b)*[\s]/S
|
| 187 |
Identifying subpattern count = 1
|
| 188 |
No options
|
| 189 |
No first char
|
| 190 |
No req char
|
| 191 |
Starting character set: \x09 \x0a \x0b \x0c \x0d \x20 a b
|
| 192 |
|
| 193 |
/(ab\2)/
|
| 194 |
Failed: back reference to non-existent subpattern at offset 6
|
| 195 |
|
| 196 |
/{4,5}abc/
|
| 197 |
Failed: nothing to repeat at offset 4
|
| 198 |
|
| 199 |
/(a)(b)(c)\2/
|
| 200 |
Identifying subpattern count = 3
|
| 201 |
No options
|
| 202 |
First char = 'a'
|
| 203 |
Req char = 'c'
|
| 204 |
abcb
|
| 205 |
0: abcb
|
| 206 |
1: a
|
| 207 |
2: b
|
| 208 |
3: c
|
| 209 |
\O0abcb
|
| 210 |
Matched, but too many substrings
|
| 211 |
\O3abcb
|
| 212 |
Matched, but too many substrings
|
| 213 |
0: abcb
|
| 214 |
\O6abcb
|
| 215 |
Matched, but too many substrings
|
| 216 |
0: abcb
|
| 217 |
1: a
|
| 218 |
\O9abcb
|
| 219 |
Matched, but too many substrings
|
| 220 |
0: abcb
|
| 221 |
1: a
|
| 222 |
2: b
|
| 223 |
\O12abcb
|
| 224 |
0: abcb
|
| 225 |
1: a
|
| 226 |
2: b
|
| 227 |
3: c
|
| 228 |
|
| 229 |
/(a)bc|(a)(b)\2/
|
| 230 |
Identifying subpattern count = 3
|
| 231 |
No options
|
| 232 |
First char = 'a'
|
| 233 |
No req char
|
| 234 |
abc
|
| 235 |
0: abc
|
| 236 |
1: a
|
| 237 |
\O0abc
|
| 238 |
Matched, but too many substrings
|
| 239 |
\O3abc
|
| 240 |
Matched, but too many substrings
|
| 241 |
0: abc
|
| 242 |
\O6abc
|
| 243 |
0: abc
|
| 244 |
1: a
|
| 245 |
aba
|
| 246 |
0: aba
|
| 247 |
1: <unset>
|
| 248 |
2: a
|
| 249 |
3: b
|
| 250 |
\O0aba
|
| 251 |
Matched, but too many substrings
|
| 252 |
\O3aba
|
| 253 |
Matched, but too many substrings
|
| 254 |
0: aba
|
| 255 |
\O6aba
|
| 256 |
Matched, but too many substrings
|
| 257 |
0: aba
|
| 258 |
1: <unset>
|
| 259 |
\O9aba
|
| 260 |
Matched, but too many substrings
|
| 261 |
0: aba
|
| 262 |
1: <unset>
|
| 263 |
2: a
|
| 264 |
\O12aba
|
| 265 |
0: aba
|
| 266 |
1: <unset>
|
| 267 |
2: a
|
| 268 |
3: b
|
| 269 |
|
| 270 |
/abc$/E
|
| 271 |
Identifying subpattern count = 0
|
| 272 |
Options: dollar_endonly
|
| 273 |
First char = 'a'
|
| 274 |
Req char = 'c'
|
| 275 |
abc
|
| 276 |
0: abc
|
| 277 |
*** Failers
|
| 278 |
No match
|
| 279 |
abc\n
|
| 280 |
No match
|
| 281 |
abc\ndef
|
| 282 |
No match
|
| 283 |
|
| 284 |
/(a)(b)(c)(d)(e)\6/
|
| 285 |
Failed: back reference to non-existent subpattern at offset 17
|
| 286 |
|
| 287 |
/the quick brown fox/
|
| 288 |
Identifying subpattern count = 0
|
| 289 |
No options
|
| 290 |
First char = 't'
|
| 291 |
Req char = 'x'
|
| 292 |
the quick brown fox
|
| 293 |
0: the quick brown fox
|
| 294 |
this is a line with the quick brown fox
|
| 295 |
0: the quick brown fox
|
| 296 |
|
| 297 |
/the quick brown fox/A
|
| 298 |
Identifying subpattern count = 0
|
| 299 |
Options: anchored
|
| 300 |
No first char
|
| 301 |
Req char = 'x'
|
| 302 |
the quick brown fox
|
| 303 |
0: the quick brown fox
|
| 304 |
*** Failers
|
| 305 |
No match
|
| 306 |
this is a line with the quick brown fox
|
| 307 |
No match
|
| 308 |
|
| 309 |
/ab(?z)cd/
|
| 310 |
Failed: unrecognized character after (? at offset 4
|
| 311 |
|
| 312 |
/^abc|def/
|
| 313 |
Identifying subpattern count = 0
|
| 314 |
No options
|
| 315 |
No first char
|
| 316 |
No req char
|
| 317 |
abcdef
|
| 318 |
0: abc
|
| 319 |
abcdef\B
|
| 320 |
0: def
|
| 321 |
|
| 322 |
/.*((abc)$|(def))/
|
| 323 |
Identifying subpattern count = 3
|
| 324 |
No options
|
| 325 |
First char at start or follows \n
|
| 326 |
No req char
|
| 327 |
defabc
|
| 328 |
0: defabc
|
| 329 |
1: abc
|
| 330 |
2: abc
|
| 331 |
\Zdefabc
|
| 332 |
0: def
|
| 333 |
1: def
|
| 334 |
2: <unset>
|
| 335 |
3: def
|
| 336 |
|
| 337 |
/abc/P
|
| 338 |
abc
|
| 339 |
0: abc
|
| 340 |
*** Failers
|
| 341 |
No match: POSIX code 17: match failed
|
| 342 |
|
| 343 |
/^abc|def/P
|
| 344 |
abcdef
|
| 345 |
0: abc
|
| 346 |
abcdef\B
|
| 347 |
0: def
|
| 348 |
|
| 349 |
/.*((abc)$|(def))/P
|
| 350 |
defabc
|
| 351 |
0: defabc
|
| 352 |
1: abc
|
| 353 |
2: abc
|
| 354 |
\Zdefabc
|
| 355 |
0: def
|
| 356 |
1: def
|
| 357 |
3: def
|
| 358 |
|
| 359 |
/the quick brown fox/P
|
| 360 |
the quick brown fox
|
| 361 |
0: the quick brown fox
|
| 362 |
*** Failers
|
| 363 |
No match: POSIX code 17: match failed
|
| 364 |
The Quick Brown Fox
|
| 365 |
No match: POSIX code 17: match failed
|
| 366 |
|
| 367 |
/the quick brown fox/Pi
|
| 368 |
the quick brown fox
|
| 369 |
0: the quick brown fox
|
| 370 |
The Quick Brown Fox
|
| 371 |
0: The Quick Brown Fox
|
| 372 |
|
| 373 |
/abc.def/P
|
| 374 |
*** Failers
|
| 375 |
No match: POSIX code 17: match failed
|
| 376 |
abc\ndef
|
| 377 |
No match: POSIX code 17: match failed
|
| 378 |
|
| 379 |
/abc$/P
|
| 380 |
abc
|
| 381 |
0: abc
|
| 382 |
abc\n
|
| 383 |
0: abc
|
| 384 |
|
| 385 |
/(abc)\2/P
|
| 386 |
Failed: POSIX code 15: bad back reference at offset 7
|
| 387 |
|
| 388 |
/(abc\1)/P
|
| 389 |
abc
|
| 390 |
No match: POSIX code 17: match failed
|
| 391 |
|
| 392 |
/)/
|
| 393 |
Failed: unmatched parentheses at offset 0
|
| 394 |
|
| 395 |
/a[]b/
|
| 396 |
Failed: missing terminating ] for character class at offset 4
|
| 397 |
|
| 398 |
/[^aeiou ]{3,}/
|
| 399 |
Identifying subpattern count = 0
|
| 400 |
No options
|
| 401 |
No first char
|
| 402 |
No req char
|
| 403 |
co-processors, and for
|
| 404 |
0: -pr
|
| 405 |
|
| 406 |
/<.*>/
|
| 407 |
Identifying subpattern count = 0
|
| 408 |
No options
|
| 409 |
First char = '<'
|
| 410 |
Req char = '>'
|
| 411 |
abc<def>ghi<klm>nop
|
| 412 |
0: <def>ghi<klm>
|
| 413 |
|
| 414 |
/<.*?>/
|
| 415 |
Identifying subpattern count = 0
|
| 416 |
No options
|
| 417 |
First char = '<'
|
| 418 |
Req char = '>'
|
| 419 |
abc<def>ghi<klm>nop
|
| 420 |
0: <def>
|
| 421 |
|
| 422 |
/<.*>/U
|
| 423 |
Identifying subpattern count = 0
|
| 424 |
Options: ungreedy
|
| 425 |
First char = '<'
|
| 426 |
Req char = '>'
|
| 427 |
abc<def>ghi<klm>nop
|
| 428 |
0: <def>
|
| 429 |
|
| 430 |
/<.*>(?U)/
|
| 431 |
Identifying subpattern count = 0
|
| 432 |
Options: ungreedy
|
| 433 |
First char = '<'
|
| 434 |
Req char = '>'
|
| 435 |
abc<def>ghi<klm>nop
|
| 436 |
0: <def>
|
| 437 |
|
| 438 |
/<.*?>/U
|
| 439 |
Identifying subpattern count = 0
|
| 440 |
Options: ungreedy
|
| 441 |
First char = '<'
|
| 442 |
Req char = '>'
|
| 443 |
abc<def>ghi<klm>nop
|
| 444 |
0: <def>ghi<klm>
|
| 445 |
|
| 446 |
/={3,}/U
|
| 447 |
Identifying subpattern count = 0
|
| 448 |
Options: ungreedy
|
| 449 |
First char = '='
|
| 450 |
Req char = '='
|
| 451 |
abc========def
|
| 452 |
0: ===
|
| 453 |
|
| 454 |
/(?U)={3,}?/
|
| 455 |
Identifying subpattern count = 0
|
| 456 |
Options: ungreedy
|
| 457 |
First char = '='
|
| 458 |
Req char = '='
|
| 459 |
abc========def
|
| 460 |
0: ========
|
| 461 |
|
| 462 |
/(?<!bar|cattle)foo/
|
| 463 |
Identifying subpattern count = 0
|
| 464 |
No options
|
| 465 |
First char = 'f'
|
| 466 |
Req char = 'o'
|
| 467 |
foo
|
| 468 |
0: foo
|
| 469 |
catfoo
|
| 470 |
0: foo
|
| 471 |
*** Failers
|
| 472 |
No match
|
| 473 |
the barfoo
|
| 474 |
No match
|
| 475 |
and cattlefoo
|
| 476 |
No match
|
| 477 |
|
| 478 |
/(?<=a+)b/
|
| 479 |
Failed: lookbehind assertion is not fixed length at offset 6
|
| 480 |
|
| 481 |
/(?<=aaa|b{0,3})b/
|
| 482 |
Failed: lookbehind assertion is not fixed length at offset 14
|
| 483 |
|
| 484 |
/(?<!(foo)a\1)bar/
|
| 485 |
Failed: lookbehind assertion is not fixed length at offset 12
|
| 486 |
|
| 487 |
/(?i)abc/
|
| 488 |
Identifying subpattern count = 0
|
| 489 |
Options: caseless
|
| 490 |
First char = 'a'
|
| 491 |
Req char = 'c'
|
| 492 |
|
| 493 |
/(a|(?m)a)/
|
| 494 |
Identifying subpattern count = 1
|
| 495 |
No options
|
| 496 |
First char = 'a'
|
| 497 |
No req char
|
| 498 |
|
| 499 |
/(?i)^1234/
|
| 500 |
Identifying subpattern count = 0
|
| 501 |
Options: anchored caseless
|
| 502 |
No first char
|
| 503 |
Req char = '4'
|
| 504 |
|
| 505 |
/(^b|(?i)^d)/
|
| 506 |
Identifying subpattern count = 1
|
| 507 |
Options: anchored
|
| 508 |
Case state changes
|
| 509 |
No first char
|
| 510 |
No req char
|
| 511 |
|
| 512 |
/(?s).*/
|
| 513 |
Identifying subpattern count = 0
|
| 514 |
Options: anchored dotall
|
| 515 |
No first char
|
| 516 |
No req char
|
| 517 |
|
| 518 |
/[abcd]/S
|
| 519 |
Identifying subpattern count = 0
|
| 520 |
No options
|
| 521 |
No first char
|
| 522 |
No req char
|
| 523 |
Starting character set: a b c d
|
| 524 |
|
| 525 |
/(?i)[abcd]/S
|
| 526 |
Identifying subpattern count = 0
|
| 527 |
Options: caseless
|
| 528 |
No first char
|
| 529 |
No req char
|
| 530 |
Starting character set: A B C D a b c d
|
| 531 |
|
| 532 |
/(?m)[xy]|(b|c)/S
|
| 533 |
Identifying subpattern count = 1
|
| 534 |
Options: multiline
|
| 535 |
No first char
|
| 536 |
No req char
|
| 537 |
Starting character set: b c x y
|
| 538 |
|
| 539 |
/(^a|^b)/m
|
| 540 |
Identifying subpattern count = 1
|
| 541 |
Options: multiline
|
| 542 |
First char at start or follows \n
|
| 543 |
No req char
|
| 544 |
|
| 545 |
/(?i)(^a|^b)/m
|
| 546 |
Identifying subpattern count = 1
|
| 547 |
Options: caseless multiline
|
| 548 |
First char at start or follows \n
|
| 549 |
No req char
|
| 550 |
|
| 551 |
/(a)(?(1)a|b|c)/
|
| 552 |
Failed: conditional group contains more than two branches at offset 13
|
| 553 |
|
| 554 |
/(?(?=a)a|b|c)/
|
| 555 |
Failed: conditional group contains more than two branches at offset 12
|
| 556 |
|
| 557 |
/(?(1a)/
|
| 558 |
Failed: malformed number after (?( at offset 4
|
| 559 |
|
| 560 |
/(?(?i))/
|
| 561 |
Failed: assertion expected after (?( at offset 3
|
| 562 |
|
| 563 |
/(?(abc))/
|
| 564 |
Failed: assertion expected after (?( at offset 3
|
| 565 |
|
| 566 |
/(?(?<ab))/
|
| 567 |
Failed: unrecognized character after (?< at offset 2
|
| 568 |
|
| 569 |
/((?s)blah)\s+\1/
|
| 570 |
Identifying subpattern count = 1
|
| 571 |
No options
|
| 572 |
First char = 'b'
|
| 573 |
Req char = 'h'
|
| 574 |
|
| 575 |
/((?i)blah)\s+\1/
|
| 576 |
Identifying subpattern count = 1
|
| 577 |
No options
|
| 578 |
Case state changes
|
| 579 |
No first char
|
| 580 |
Req char = 'h'
|
| 581 |
|
| 582 |
/((?i)b)/DS
|
| 583 |
------------------------------------------------------------------
|
| 584 |
0 16 Bra 0
|
| 585 |
3 8 Bra 1
|
| 586 |
6 01 Opt
|
| 587 |
8 1 b
|
| 588 |
11 8 Ket
|
| 589 |
14 00 Opt
|
| 590 |
16 16 Ket
|
| 591 |
19 End
|
| 592 |
------------------------------------------------------------------
|
| 593 |
Identifying subpattern count = 1
|
| 594 |
No options
|
| 595 |
Case state changes
|
| 596 |
No first char
|
| 597 |
Req char = 'b'
|
| 598 |
Starting character set: B b
|
| 599 |
|
| 600 |
/(a*b|(?i:c*(?-i)d))/S
|
| 601 |
Identifying subpattern count = 1
|
| 602 |
No options
|
| 603 |
Case state changes
|
| 604 |
No first char
|
| 605 |
No req char
|
| 606 |
Starting character set: C a b c d
|
| 607 |
|
| 608 |
/a$/
|
| 609 |
Identifying subpattern count = 0
|
| 610 |
No options
|
| 611 |
First char = 'a'
|
| 612 |
No req char
|
| 613 |
a
|
| 614 |
0: a
|
| 615 |
a\n
|
| 616 |
0: a
|
| 617 |
*** Failers
|
| 618 |
No match
|
| 619 |
\Za
|
| 620 |
No match
|
| 621 |
\Za\n
|
| 622 |
No match
|
| 623 |
|
| 624 |
/a$/m
|
| 625 |
Identifying subpattern count = 0
|
| 626 |
Options: multiline
|
| 627 |
First char = 'a'
|
| 628 |
No req char
|
| 629 |
a
|
| 630 |
0: a
|
| 631 |
a\n
|
| 632 |
0: a
|
| 633 |
\Za\n
|
| 634 |
0: a
|
| 635 |
*** Failers
|
| 636 |
No match
|
| 637 |
\Za
|
| 638 |
No match
|
| 639 |
|
| 640 |
/\Aabc/m
|
| 641 |
Identifying subpattern count = 0
|
| 642 |
Options: anchored multiline
|
| 643 |
No first char
|
| 644 |
Req char = 'c'
|
| 645 |
|
| 646 |
/^abc/m
|
| 647 |
Identifying subpattern count = 0
|
| 648 |
Options: multiline
|
| 649 |
First char at start or follows \n
|
| 650 |
Req char = 'c'
|
| 651 |
|
| 652 |
/^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/
|
| 653 |
Identifying subpattern count = 5
|
| 654 |
Options: anchored
|
| 655 |
No first char
|
| 656 |
Req char = 'a'
|
| 657 |
aaaaabbbbbcccccdef
|
| 658 |
0: aaaaabbbbbcccccdef
|
| 659 |
1: aaaaabbbbbcccccdef
|
| 660 |
2: aaaaa
|
| 661 |
3: b
|
| 662 |
4: bbbbccccc
|
| 663 |
5: def
|
| 664 |
|
| 665 |
/(?<=foo)[ab]/S
|
| 666 |
Identifying subpattern count = 0
|
| 667 |
No options
|
| 668 |
No first char
|
| 669 |
No req char
|
| 670 |
Starting character set: a b
|
| 671 |
|
| 672 |
/(?<!foo)(alpha|omega)/S
|
| 673 |
Identifying subpattern count = 1
|
| 674 |
No options
|
| 675 |
No first char
|
| 676 |
Req char = 'a'
|
| 677 |
Starting character set: a o
|
| 678 |
|
| 679 |
/(?!alphabet)[ab]/S
|
| 680 |
Identifying subpattern count = 0
|
| 681 |
No options
|
| 682 |
No first char
|
| 683 |
No req char
|
| 684 |
Starting character set: a b
|
| 685 |
|
| 686 |
/(?<=foo\n)^bar/m
|
| 687 |
Identifying subpattern count = 0
|
| 688 |
Options: multiline
|
| 689 |
First char at start or follows \n
|
| 690 |
Req char = 'r'
|
| 691 |
|
| 692 |
/(?>^abc)/m
|
| 693 |
Identifying subpattern count = 0
|
| 694 |
Options: multiline
|
| 695 |
First char at start or follows \n
|
| 696 |
Req char = 'c'
|
| 697 |
abc
|
| 698 |
0: abc
|
| 699 |
def\nabc
|
| 700 |
0: abc
|
| 701 |
*** Failers
|
| 702 |
No match
|
| 703 |
defabc
|
| 704 |
No match
|
| 705 |
|
| 706 |
/(?<=ab(c+)d)ef/
|
| 707 |
Failed: lookbehind assertion is not fixed length at offset 11
|
| 708 |
|
| 709 |
/(?<=ab(?<=c+)d)ef/
|
| 710 |
Failed: lookbehind assertion is not fixed length at offset 12
|
| 711 |
|
| 712 |
/(?<=ab(c|de)f)g/
|
| 713 |
Failed: lookbehind assertion is not fixed length at offset 13
|
| 714 |
|
| 715 |
/The next three are in testinput2 because they have variable length branches/
|
| 716 |
Identifying subpattern count = 0
|
| 717 |
No options
|
| 718 |
First char = 'T'
|
| 719 |
Req char = 's'
|
| 720 |
|
| 721 |
/(?<=bullock|donkey)-cart/
|
| 722 |
Identifying subpattern count = 0
|
| 723 |
No options
|
| 724 |
First char = '-'
|
| 725 |
Req char = 't'
|
| 726 |
the bullock-cart
|
| 727 |
0: -cart
|
| 728 |
a donkey-cart race
|
| 729 |
0: -cart
|
| 730 |
*** Failers
|
| 731 |
No match
|
| 732 |
cart
|
| 733 |
No match
|
| 734 |
horse-and-cart
|
| 735 |
No match
|
| 736 |
|
| 737 |
/(?<=ab(?i)x|y|z)/
|
| 738 |
Identifying subpattern count = 0
|
| 739 |
No options
|
| 740 |
Case state changes
|
| 741 |
No first char
|
| 742 |
No req char
|
| 743 |
|
| 744 |
/(?>.*)(?<=(abcd)|(xyz))/
|
| 745 |
Identifying subpattern count = 2
|
| 746 |
No options
|
| 747 |
First char at start or follows \n
|
| 748 |
No req char
|
| 749 |
alphabetabcd
|
| 750 |
0: alphabetabcd
|
| 751 |
1: abcd
|
| 752 |
endingxyz
|
| 753 |
0: endingxyz
|
| 754 |
1: <unset>
|
| 755 |
2: xyz
|
| 756 |
|
| 757 |
/(?<=ab(?i)x(?-i)y|(?i)z|b)ZZ/
|
| 758 |
Identifying subpattern count = 0
|
| 759 |
No options
|
| 760 |
Case state changes
|
| 761 |
First char = 'Z'
|
| 762 |
Req char = 'Z'
|
| 763 |
abxyZZ
|
| 764 |
0: ZZ
|
| 765 |
abXyZZ
|
| 766 |
0: ZZ
|
| 767 |
ZZZ
|
| 768 |
0: ZZ
|
| 769 |
zZZ
|
| 770 |
0: ZZ
|
| 771 |
bZZ
|
| 772 |
0: ZZ
|
| 773 |
BZZ
|
| 774 |
0: ZZ
|
| 775 |
*** Failers
|
| 776 |
No match
|
| 777 |
ZZ
|
| 778 |
No match
|
| 779 |
abXYZZ
|
| 780 |
No match
|
| 781 |
zzz
|
| 782 |
No match
|
| 783 |
bzz
|
| 784 |
No match
|
| 785 |
|
| 786 |
/(?<!(foo)a)bar/
|
| 787 |
Identifying subpattern count = 1
|
| 788 |
No options
|
| 789 |
First char = 'b'
|
| 790 |
Req char = 'r'
|
| 791 |
bar
|
| 792 |
0: bar
|
| 793 |
foobbar
|
| 794 |
0: bar
|
| 795 |
*** Failers
|
| 796 |
No match
|
| 797 |
fooabar
|
| 798 |
No match
|
| 799 |
|
| 800 |
/This one is here because Perl 5.005_02 doesn't fail it/
|
| 801 |
Identifying subpattern count = 0
|
| 802 |
No options
|
| 803 |
First char = 'T'
|
| 804 |
Req char = 't'
|
| 805 |
|
| 806 |
/^(a)?(?(1)a|b)+$/
|
| 807 |
Identifying subpattern count = 1
|
| 808 |
Options: anchored
|
| 809 |
No first char
|
| 810 |
No req char
|
| 811 |
*** Failers
|
| 812 |
No match
|
| 813 |
a
|
| 814 |
No match
|
| 815 |
|
| 816 |
/This one is here because I think Perl 5.005_02 gets the setting of $1 wrong/
|
| 817 |
Identifying subpattern count = 0
|
| 818 |
No options
|
| 819 |
First char = 'T'
|
| 820 |
Req char = 'g'
|
| 821 |
|
| 822 |
/^(a\1?){4}$/
|
| 823 |
Identifying subpattern count = 1
|
| 824 |
Options: anchored
|
| 825 |
No first char
|
| 826 |
Req char = 'a'
|
| 827 |
aaaaaa
|
| 828 |
0: aaaaaa
|
| 829 |
1: aa
|
| 830 |
|
| 831 |
/These are syntax tests from Perl 5.005/
|
| 832 |
Identifying subpattern count = 0
|
| 833 |
No options
|
| 834 |
First char = 'T'
|
| 835 |
Req char = '5'
|
| 836 |
|
| 837 |
/a[b-a]/
|
| 838 |
Failed: range out of order in character class at offset 4
|
| 839 |
|
| 840 |
/a[]b/
|
| 841 |
Failed: missing terminating ] for character class at offset 4
|
| 842 |
|
| 843 |
/a[/
|
| 844 |
Failed: missing terminating ] for character class at offset 2
|
| 845 |
|
| 846 |
/*a/
|
| 847 |
Failed: nothing to repeat at offset 0
|
| 848 |
|
| 849 |
/(*)b/
|
| 850 |
Failed: nothing to repeat at offset 1
|
| 851 |
|
| 852 |
/abc)/
|
| 853 |
Failed: unmatched parentheses at offset 3
|
| 854 |
|
| 855 |
/(abc/
|
| 856 |
Failed: missing ) at offset 4
|
| 857 |
|
| 858 |
/a**/
|
| 859 |
Failed: nothing to repeat at offset 2
|
| 860 |
|
| 861 |
/)(/
|
| 862 |
Failed: unmatched parentheses at offset 0
|
| 863 |
|
| 864 |
/\1/
|
| 865 |
Failed: back reference to non-existent subpattern at offset 2
|
| 866 |
|
| 867 |
/\2/
|
| 868 |
Failed: back reference to non-existent subpattern at offset 2
|
| 869 |
|
| 870 |
/(a)|\2/
|
| 871 |
Failed: back reference to non-existent subpattern at offset 6
|
| 872 |
|
| 873 |
/a[b-a]/i
|
| 874 |
Failed: range out of order in character class at offset 4
|
| 875 |
|
| 876 |
/a[]b/i
|
| 877 |
Failed: missing terminating ] for character class at offset 4
|
| 878 |
|
| 879 |
/a[/i
|
| 880 |
Failed: missing terminating ] for character class at offset 2
|
| 881 |
|
| 882 |
/*a/i
|
| 883 |
Failed: nothing to repeat at offset 0
|
| 884 |
|
| 885 |
/(*)b/i
|
| 886 |
Failed: nothing to repeat at offset 1
|
| 887 |
|
| 888 |
/abc)/i
|
| 889 |
Failed: unmatched parentheses at offset 3
|
| 890 |
|
| 891 |
/(abc/i
|
| 892 |
Failed: missing ) at offset 4
|
| 893 |
|
| 894 |
/a**/i
|
| 895 |
Failed: nothing to repeat at offset 2
|
| 896 |
|
| 897 |
/)(/i
|
| 898 |
Failed: unmatched parentheses at offset 0
|
| 899 |
|
| 900 |
/:(?:/
|
| 901 |
Failed: missing ) at offset 4
|
| 902 |
|
| 903 |
/(?<%)b/
|
| 904 |
Failed: unrecognized character after (?< at offset 0
|
| 905 |
|
| 906 |
/a(?{)b/
|
| 907 |
Failed: unrecognized character after (? at offset 3
|
| 908 |
|
| 909 |
/a(?{{})b/
|
| 910 |
Failed: unrecognized character after (? at offset 3
|
| 911 |
|
| 912 |
/a(?{}})b/
|
| 913 |
Failed: unrecognized character after (? at offset 3
|
| 914 |
|
| 915 |
/a(?{"{"})b/
|
| 916 |
Failed: unrecognized character after (? at offset 3
|
| 917 |
|
| 918 |
/a(?{"{"}})b/
|
| 919 |
Failed: unrecognized character after (? at offset 3
|
| 920 |
|
| 921 |
/(?(1?)a|b)/
|
| 922 |
Failed: malformed number after (?( at offset 4
|
| 923 |
|
| 924 |
/(?(1)a|b|c)/
|
| 925 |
Failed: conditional group contains more than two branches at offset 10
|
| 926 |
|
| 927 |
/[a[:xyz:/
|
| 928 |
Failed: missing terminating ] for character class at offset 8
|
| 929 |
|
| 930 |
/(?<=x+)y/
|
| 931 |
Failed: lookbehind assertion is not fixed length at offset 6
|
| 932 |
|
| 933 |
/a{37,17}/
|
| 934 |
Failed: numbers out of order in {} quantifier at offset 7
|
| 935 |
|
| 936 |
/abc/\
|
| 937 |
Failed: \ at end of pattern at offset 4
|
| 938 |
|
| 939 |
/abc/\P
|
| 940 |
Failed: POSIX code 9: bad escape sequence at offset 4
|
| 941 |
|
| 942 |
/abc/\i
|
| 943 |
Failed: \ at end of pattern at offset 4
|
| 944 |
|
| 945 |
/(a)bc(d)/
|
| 946 |
Identifying subpattern count = 2
|
| 947 |
No options
|
| 948 |
First char = 'a'
|
| 949 |
Req char = 'd'
|
| 950 |
abcd
|
| 951 |
0: abcd
|
| 952 |
1: a
|
| 953 |
2: d
|
| 954 |
abcd\C2
|
| 955 |
0: abcd
|
| 956 |
1: a
|
| 957 |
2: d
|
| 958 |
2C d (1)
|
| 959 |
abcd\C5
|
| 960 |
0: abcd
|
| 961 |
1: a
|
| 962 |
2: d
|
| 963 |
copy substring 5 failed -7
|
| 964 |
|
| 965 |
/(.{20})/
|
| 966 |
Identifying subpattern count = 1
|
| 967 |
No options
|
| 968 |
No first char
|
| 969 |
No req char
|
| 970 |
abcdefghijklmnopqrstuvwxyz
|
| 971 |
0: abcdefghijklmnopqrst
|
| 972 |
1: abcdefghijklmnopqrst
|
| 973 |
abcdefghijklmnopqrstuvwxyz\C1
|
| 974 |
0: abcdefghijklmnopqrst
|
| 975 |
1: abcdefghijklmnopqrst
|
| 976 |
copy substring 1 failed -6
|
| 977 |
abcdefghijklmnopqrstuvwxyz\G1
|
| 978 |
0: abcdefghijklmnopqrst
|
| 979 |
1: abcdefghijklmnopqrst
|
| 980 |
1G abcdefghijklmnopqrst (20)
|
| 981 |
|
| 982 |
/(.{15})/
|
| 983 |
Identifying subpattern count = 1
|
| 984 |
No options
|
| 985 |
No first char
|
| 986 |
No req char
|
| 987 |
abcdefghijklmnopqrstuvwxyz
|
| 988 |
0: abcdefghijklmno
|
| 989 |
1: abcdefghijklmno
|
| 990 |
abcdefghijklmnopqrstuvwxyz\C1\G1
|
| 991 |
0: abcdefghijklmno
|
| 992 |
1: abcdefghijklmno
|
| 993 |
1C abcdefghijklmno (15)
|
| 994 |
1G abcdefghijklmno (15)
|
| 995 |
|
| 996 |
/(.{16})/
|
| 997 |
Identifying subpattern count = 1
|
| 998 |
No options
|
| 999 |
No first char
|
| 1000 |
No req char
|
| 1001 |
abcdefghijklmnopqrstuvwxyz
|
| 1002 |
0: abcdefghijklmnop
|
| 1003 |
1: abcdefghijklmnop
|
| 1004 |
abcdefghijklmnopqrstuvwxyz\C1\G1\L
|
| 1005 |
0: abcdefghijklmnop
|
| 1006 |
1: abcdefghijklmnop
|
| 1007 |
copy substring 1 failed -6
|
| 1008 |
1G abcdefghijklmnop (16)
|
| 1009 |
0L abcdefghijklmnop
|
| 1010 |
1L abcdefghijklmnop
|
| 1011 |
|
| 1012 |
/^(a|(bc))de(f)/
|
| 1013 |
Identifying subpattern count = 3
|
| 1014 |
Options: anchored
|
| 1015 |
No first char
|
| 1016 |
Req char = 'f'
|
| 1017 |
adef\G1\G2\G3\G4\L
|
| 1018 |
0: adef
|
| 1019 |
1: a
|
| 1020 |
2: <unset>
|
| 1021 |
3: f
|
| 1022 |
1G a (1)
|
| 1023 |
2G (0)
|
| 1024 |
3G f (1)
|
| 1025 |
get substring 4 failed -7
|
| 1026 |
0L adef
|
| 1027 |
1L a
|
| 1028 |
2L
|
| 1029 |
3L f
|
| 1030 |
bcdef\G1\G2\G3\G4\L
|
| 1031 |
0: bcdef
|
| 1032 |
1: bc
|
| 1033 |
2: bc
|
| 1034 |
3: f
|
| 1035 |
1G bc (2)
|
| 1036 |
2G bc (2)
|
| 1037 |
3G f (1)
|
| 1038 |
get substring 4 failed -7
|
| 1039 |
0L bcdef
|
| 1040 |
1L bc
|
| 1041 |
2L bc
|
| 1042 |
3L f
|
| 1043 |
adefghijk\C0
|
| 1044 |
0: adef
|
| 1045 |
1: a
|
| 1046 |
2: <unset>
|
| 1047 |
3: f
|
| 1048 |
0C adef (4)
|
| 1049 |
|
| 1050 |
/^abc\00def/
|
| 1051 |
Identifying subpattern count = 0
|
| 1052 |
Options: anchored
|
| 1053 |
No first char
|
| 1054 |
Req char = 'f'
|
| 1055 |
abc\00def\L\C0
|
| 1056 |
0: abc\x00def
|
| 1057 |
0C abc (7)
|
| 1058 |
0L abc
|
| 1059 |
|
| 1060 |
/word ((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+
|
| 1061 |
)((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+
|
| 1062 |
)?)?)?)?)?)?)?)?)?otherword/M
|
| 1063 |
Memory allocation (code space): 428
|
| 1064 |
Identifying subpattern count = 8
|
| 1065 |
No options
|
| 1066 |
First char = 'w'
|
| 1067 |
Req char = 'd'
|
| 1068 |
|
| 1069 |
/.*X/D
|
| 1070 |
------------------------------------------------------------------
|
| 1071 |
0 8 Bra 0
|
| 1072 |
3 Any*
|
| 1073 |
5 1 X
|
| 1074 |
8 8 Ket
|
| 1075 |
11 End
|
| 1076 |
------------------------------------------------------------------
|
| 1077 |
Identifying subpattern count = 0
|
| 1078 |
No options
|
| 1079 |
First char at start or follows \n
|
| 1080 |
Req char = 'X'
|
| 1081 |
|
| 1082 |
/.*X/Ds
|
| 1083 |
------------------------------------------------------------------
|
| 1084 |
0 8 Bra 0
|
| 1085 |
3 Any*
|
| 1086 |
5 1 X
|
| 1087 |
8 8 Ket
|
| 1088 |
11 End
|
| 1089 |
------------------------------------------------------------------
|
| 1090 |
Identifying subpattern count = 0
|
| 1091 |
Options: anchored dotall
|
| 1092 |
No first char
|
| 1093 |
Req char = 'X'
|
| 1094 |
|
| 1095 |
/(.*X|^B)/D
|
| 1096 |
------------------------------------------------------------------
|
| 1097 |
0 21 Bra 0
|
| 1098 |
3 8 Bra 1
|
| 1099 |
6 Any*
|
| 1100 |
8 1 X
|
| 1101 |
11 7 Alt
|
| 1102 |
14 ^
|
| 1103 |
15 1 B
|
| 1104 |
18 15 Ket
|
| 1105 |
21 21 Ket
|
| 1106 |
24 End
|
| 1107 |
------------------------------------------------------------------
|
| 1108 |
Identifying subpattern count = 1
|
| 1109 |
No options
|
| 1110 |
First char at start or follows \n
|
| 1111 |
No req char
|
| 1112 |
|
| 1113 |
/(.*X|^B)/Ds
|
| 1114 |
------------------------------------------------------------------
|
| 1115 |
0 21 Bra 0
|
| 1116 |
3 8 Bra 1
|
| 1117 |
6 Any*
|
| 1118 |
8 1 X
|
| 1119 |
11 7 Alt
|
| 1120 |
14 ^
|
| 1121 |
15 1 B
|
| 1122 |
18 15 Ket
|
| 1123 |
21 21 Ket
|
| 1124 |
24 End
|
| 1125 |
------------------------------------------------------------------
|
| 1126 |
Identifying subpattern count = 1
|
| 1127 |
Options: anchored dotall
|
| 1128 |
No first char
|
| 1129 |
No req char
|
| 1130 |
|
| 1131 |
/(?s)(.*X|^B)/D
|
| 1132 |
------------------------------------------------------------------
|
| 1133 |
0 21 Bra 0
|
| 1134 |
3 8 Bra 1
|
| 1135 |
6 Any*
|
| 1136 |
8 1 X
|
| 1137 |
11 7 Alt
|
| 1138 |
14 ^
|
| 1139 |
15 1 B
|
| 1140 |
18 15 Ket
|
| 1141 |
21 21 Ket
|
| 1142 |
24 End
|
| 1143 |
------------------------------------------------------------------
|
| 1144 |
Identifying subpattern count = 1
|
| 1145 |
Options: anchored dotall
|
| 1146 |
No first char
|
| 1147 |
No req char
|
| 1148 |
|
| 1149 |
/(?s:.*X|^B)/D
|
| 1150 |
------------------------------------------------------------------
|
| 1151 |
0 27 Bra 0
|
| 1152 |
3 10 Bra 0
|
| 1153 |
6 04 Opt
|
| 1154 |
8 Any*
|
| 1155 |
10 1 X
|
| 1156 |
13 9 Alt
|
| 1157 |
16 04 Opt
|
| 1158 |
18 ^
|
| 1159 |
19 1 B
|
| 1160 |
22 19 Ket
|
| 1161 |
25 00 Opt
|
| 1162 |
27 27 Ket
|
| 1163 |
30 End
|
| 1164 |
------------------------------------------------------------------
|
| 1165 |
Identifying subpattern count = 0
|
| 1166 |
No options
|
| 1167 |
First char at start or follows \n
|
| 1168 |
No req char
|
| 1169 |
|
| 1170 |
/\Biss\B/+
|
| 1171 |
Identifying subpattern count = 0
|
| 1172 |
No options
|
| 1173 |
First char = 'i'
|
| 1174 |
Req char = 's'
|
| 1175 |
Mississippi
|
| 1176 |
0: iss
|
| 1177 |
0+ issippi
|
| 1178 |
|
| 1179 |
/\Biss\B/+P
|
| 1180 |
Mississippi
|
| 1181 |
0: iss
|
| 1182 |
0+ issippi
|
| 1183 |
|
| 1184 |
/iss/G+
|
| 1185 |
Identifying subpattern count = 0
|
| 1186 |
No options
|
| 1187 |
First char = 'i'
|
| 1188 |
Req char = 's'
|
| 1189 |
Mississippi
|
| 1190 |
0: iss
|
| 1191 |
0+ issippi
|
| 1192 |
0: iss
|
| 1193 |
0+ ippi
|
| 1194 |
|
| 1195 |
/\Biss\B/G+
|
| 1196 |
Identifying subpattern count = 0
|
| 1197 |
No options
|
| 1198 |
First char = 'i'
|
| 1199 |
Req char = 's'
|
| 1200 |
Mississippi
|
| 1201 |
0: iss
|
| 1202 |
0+ issippi
|
| 1203 |
|
| 1204 |
/\Biss\B/g+
|
| 1205 |
Identifying subpattern count = 0
|
| 1206 |
No options
|
| 1207 |
First char = 'i'
|
| 1208 |
Req char = 's'
|
| 1209 |
Mississippi
|
| 1210 |
0: iss
|
| 1211 |
0+ issippi
|
| 1212 |
0: iss
|
| 1213 |
0+ ippi
|
| 1214 |
*** Failers
|
| 1215 |
No match
|
| 1216 |
Mississippi\A
|
| 1217 |
No match
|
| 1218 |
|
| 1219 |
/(?<=[Ms])iss/g+
|
| 1220 |
Identifying subpattern count = 0
|
| 1221 |
No options
|
| 1222 |
First char = 'i'
|
| 1223 |
Req char = 's'
|
| 1224 |
Mississippi
|
| 1225 |
0: iss
|
| 1226 |
0+ issippi
|
| 1227 |
0: iss
|
| 1228 |
0+ ippi
|
| 1229 |
|
| 1230 |
/(?<=[Ms])iss/G+
|
| 1231 |
Identifying subpattern count = 0
|
| 1232 |
No options
|
| 1233 |
First char = 'i'
|
| 1234 |
Req char = 's'
|
| 1235 |
Mississippi
|
| 1236 |
0: iss
|
| 1237 |
0+ issippi
|
| 1238 |
|
| 1239 |
/^iss/g+
|
| 1240 |
Identifying subpattern count = 0
|
| 1241 |
Options: anchored
|
| 1242 |
No first char
|
| 1243 |
Req char = 's'
|
| 1244 |
ississippi
|
| 1245 |
0: iss
|
| 1246 |
0+ issippi
|
| 1247 |
|
| 1248 |
/.*iss/g+
|
| 1249 |
Identifying subpattern count = 0
|
| 1250 |
No options
|
| 1251 |
First char at start or follows \n
|
| 1252 |
Req char = 's'
|
| 1253 |
abciss\nxyzisspqr
|
| 1254 |
0: abciss
|
| 1255 |
0+ \x0axyzisspqr
|
| 1256 |
0: xyziss
|
| 1257 |
0+ pqr
|
| 1258 |
|
| 1259 |
/.i./+g
|
| 1260 |
Identifying subpattern count = 0
|
| 1261 |
No options
|
| 1262 |
No first char
|
| 1263 |
Req char = 'i'
|
| 1264 |
Mississippi
|
| 1265 |
0: Mis
|
| 1266 |
0+ sissippi
|
| 1267 |
0: sis
|
| 1268 |
0+ sippi
|
| 1269 |
0: sip
|
| 1270 |
0+ pi
|
| 1271 |
Mississippi\A
|
| 1272 |
0: Mis
|
| 1273 |
0+ sissippi
|
| 1274 |
0: sis
|
| 1275 |
0+ sippi
|
| 1276 |
0: sip
|
| 1277 |
0+ pi
|
| 1278 |
Missouri river
|
| 1279 |
0: Mis
|
| 1280 |
0+ souri river
|
| 1281 |
0: ri
|
| 1282 |
0+ river
|
| 1283 |
0: riv
|
| 1284 |
0+ er
|
| 1285 |
Missouri river\A
|
| 1286 |
0: Mis
|
| 1287 |
0+ souri river
|
| 1288 |
|
| 1289 |
/^.is/+g
|
| 1290 |
Identifying subpattern count = 0
|
| 1291 |
Options: anchored
|
| 1292 |
No first char
|
| 1293 |
Req char = 's'
|
| 1294 |
Mississippi
|
| 1295 |
0: Mis
|
| 1296 |
0+ sissippi
|
| 1297 |
|
| 1298 |
/^ab\n/g+
|
| 1299 |
Identifying subpattern count = 0
|
| 1300 |
Options: anchored
|
| 1301 |
No first char
|
| 1302 |
Req char = 10
|
| 1303 |
ab\nab\ncd
|
| 1304 |
0: ab\x0a
|
| 1305 |
0+ ab\x0acd
|
| 1306 |
|
| 1307 |
/^ab\n/mg+
|
| 1308 |
Identifying subpattern count = 0
|
| 1309 |
Options: multiline
|
| 1310 |
First char at start or follows \n
|
| 1311 |
Req char = 10
|
| 1312 |
ab\nab\ncd
|
| 1313 |
0: ab\x0a
|
| 1314 |
0+ ab\x0acd
|
| 1315 |
0: ab\x0a
|
| 1316 |
0+ cd
|
| 1317 |
|
| 1318 |
/abc/
|
| 1319 |
Identifying subpattern count = 0
|
| 1320 |
No options
|
| 1321 |
First char = 'a'
|
| 1322 |
Req char = 'c'
|
| 1323 |
|
| 1324 |
/abc|bac/
|
| 1325 |
Identifying subpattern count = 0
|
| 1326 |
No options
|
| 1327 |
No first char
|
| 1328 |
Req char = 'c'
|
| 1329 |
|
| 1330 |
/(abc|bac)/
|
| 1331 |
Identifying subpattern count = 1
|
| 1332 |
No options
|
| 1333 |
No first char
|
| 1334 |
Req char = 'c'
|
| 1335 |
|
| 1336 |
/(abc|(c|dc))/
|
| 1337 |
Identifying subpattern count = 2
|
| 1338 |
No options
|
| 1339 |
No first char
|
| 1340 |
Req char = 'c'
|
| 1341 |
|
| 1342 |
/(abc|(d|de)c)/
|
| 1343 |
Identifying subpattern count = 2
|
| 1344 |
No options
|
| 1345 |
No first char
|
| 1346 |
Req char = 'c'
|
| 1347 |
|
| 1348 |
/a*/
|
| 1349 |
Identifying subpattern count = 0
|
| 1350 |
No options
|
| 1351 |
No first char
|
| 1352 |
No req char
|
| 1353 |
|
| 1354 |
/a+/
|
| 1355 |
Identifying subpattern count = 0
|
| 1356 |
No options
|
| 1357 |
First char = 'a'
|
| 1358 |
No req char
|
| 1359 |
|
| 1360 |
/(baa|a+)/
|
| 1361 |
Identifying subpattern count = 1
|
| 1362 |
No options
|
| 1363 |
No first char
|
| 1364 |
Req char = 'a'
|
| 1365 |
|
| 1366 |
/a{0,3}/
|
| 1367 |
Identifying subpattern count = 0
|
| 1368 |
No options
|
| 1369 |
No first char
|
| 1370 |
No req char
|
| 1371 |
|
| 1372 |
/baa{3,}/
|
| 1373 |
Identifying subpattern count = 0
|
| 1374 |
No options
|
| 1375 |
First char = 'b'
|
| 1376 |
Req char = 'a'
|
| 1377 |
|
| 1378 |
/"([^\\"]+|\\.)*"/
|
| 1379 |
Identifying subpattern count = 1
|
| 1380 |
No options
|
| 1381 |
First char = '"'
|
| 1382 |
Req char = '"'
|
| 1383 |
|
| 1384 |
/(abc|ab[cd])/
|
| 1385 |
Identifying subpattern count = 1
|
| 1386 |
No options
|
| 1387 |
First char = 'a'
|
| 1388 |
No req char
|
| 1389 |
|
| 1390 |
/(a|.)/
|
| 1391 |
Identifying subpattern count = 1
|
| 1392 |
No options
|
| 1393 |
No first char
|
| 1394 |
No req char
|
| 1395 |
|
| 1396 |
/a|ba|\w/
|
| 1397 |
Identifying subpattern count = 0
|
| 1398 |
No options
|
| 1399 |
No first char
|
| 1400 |
No req char
|
| 1401 |
|
| 1402 |
/abc(?=pqr)/
|
| 1403 |
Identifying subpattern count = 0
|
| 1404 |
No options
|
| 1405 |
First char = 'a'
|
| 1406 |
Req char = 'r'
|
| 1407 |
|
| 1408 |
/...(?<=abc)/
|
| 1409 |
Identifying subpattern count = 0
|
| 1410 |
No options
|
| 1411 |
No first char
|
| 1412 |
No req char
|
| 1413 |
|
| 1414 |
/abc(?!pqr)/
|
| 1415 |
Identifying subpattern count = 0
|
| 1416 |
No options
|
| 1417 |
First char = 'a'
|
| 1418 |
Req char = 'c'
|
| 1419 |
|
| 1420 |
/ab./
|
| 1421 |
Identifying subpattern count = 0
|
| 1422 |
No options
|
| 1423 |
First char = 'a'
|
| 1424 |
Req char = 'b'
|
| 1425 |
|
| 1426 |
/ab[xyz]/
|
| 1427 |
Identifying subpattern count = 0
|
| 1428 |
No options
|
| 1429 |
First char = 'a'
|
| 1430 |
Req char = 'b'
|
| 1431 |
|
| 1432 |
/abc*/
|
| 1433 |
Identifying subpattern count = 0
|
| 1434 |
No options
|
| 1435 |
First char = 'a'
|
| 1436 |
Req char = 'b'
|
| 1437 |
|
| 1438 |
/ab.c*/
|
| 1439 |
Identifying subpattern count = 0
|
| 1440 |
No options
|
| 1441 |
First char = 'a'
|
| 1442 |
Req char = 'b'
|
| 1443 |
|
| 1444 |
/a.c*/
|
| 1445 |
Identifying subpattern count = 0
|
| 1446 |
No options
|
| 1447 |
First char = 'a'
|
| 1448 |
No req char
|
| 1449 |
|
| 1450 |
/.c*/
|
| 1451 |
Identifying subpattern count = 0
|
| 1452 |
No options
|
| 1453 |
No first char
|
| 1454 |
No req char
|
| 1455 |
|
| 1456 |
/ac*/
|
| 1457 |
Identifying subpattern count = 0
|
| 1458 |
No options
|
| 1459 |
First char = 'a'
|
| 1460 |
No req char
|
| 1461 |
|
| 1462 |
/(a.c*|b.c*)/
|
| 1463 |
Identifying subpattern count = 1
|
| 1464 |
No options
|
| 1465 |
No first char
|
| 1466 |
No req char
|
| 1467 |
|
| 1468 |
/a.c*|aba/
|
| 1469 |
Identifying subpattern count = 0
|
| 1470 |
No options
|
| 1471 |
First char = 'a'
|
| 1472 |
No req char
|
| 1473 |
|
| 1474 |
/.+a/
|
| 1475 |
Identifying subpattern count = 0
|
| 1476 |
No options
|
| 1477 |
No first char
|
| 1478 |
Req char = 'a'
|
| 1479 |
|
| 1480 |
/(?=abcda)a.*/
|
| 1481 |
Identifying subpattern count = 0
|
| 1482 |
No options
|
| 1483 |
First char = 'a'
|
| 1484 |
No req char
|
| 1485 |
|
| 1486 |
/(?=a)a.*/
|
| 1487 |
Identifying subpattern count = 0
|
| 1488 |
No options
|
| 1489 |
First char = 'a'
|
| 1490 |
No req char
|
| 1491 |
|
| 1492 |
/a(b)*/
|
| 1493 |
Identifying subpattern count = 1
|
| 1494 |
No options
|
| 1495 |
First char = 'a'
|
| 1496 |
No req char
|
| 1497 |
|
| 1498 |
/a\d*/
|
| 1499 |
Identifying subpattern count = 0
|
| 1500 |
No options
|
| 1501 |
First char = 'a'
|
| 1502 |
No req char
|
| 1503 |
|
| 1504 |
/ab\d*/
|
| 1505 |
Identifying subpattern count = 0
|
| 1506 |
No options
|
| 1507 |
First char = 'a'
|
| 1508 |
Req char = 'b'
|
| 1509 |
|
| 1510 |
/a(\d)*/
|
| 1511 |
Identifying subpattern count = 1
|
| 1512 |
No options
|
| 1513 |
First char = 'a'
|
| 1514 |
No req char
|
| 1515 |
|
| 1516 |
/abcde{0,0}/
|
| 1517 |
Identifying subpattern count = 0
|
| 1518 |
No options
|
| 1519 |
First char = 'a'
|
| 1520 |
Req char = 'd'
|
| 1521 |
|
| 1522 |
/ab\d+/
|
| 1523 |
Identifying subpattern count = 0
|
| 1524 |
No options
|
| 1525 |
First char = 'a'
|
| 1526 |
Req char = 'b'
|
| 1527 |
|
| 1528 |
/a(?(1)b)/
|
| 1529 |
Identifying subpattern count = 0
|
| 1530 |
No options
|
| 1531 |
First char = 'a'
|
| 1532 |
No req char
|
| 1533 |
|
| 1534 |
/a(?(1)bag|big)/
|
| 1535 |
Identifying subpattern count = 0
|
| 1536 |
No options
|
| 1537 |
First char = 'a'
|
| 1538 |
Req char = 'g'
|
| 1539 |
|
| 1540 |
/a(?(1)bag|big)*/
|
| 1541 |
Identifying subpattern count = 0
|
| 1542 |
No options
|
| 1543 |
First char = 'a'
|
| 1544 |
No req char
|
| 1545 |
|
| 1546 |
/a(?(1)bag|big)+/
|
| 1547 |
Identifying subpattern count = 0
|
| 1548 |
No options
|
| 1549 |
First char = 'a'
|
| 1550 |
Req char = 'g'
|
| 1551 |
|
| 1552 |
/a(?(1)b..|b..)/
|
| 1553 |
Identifying subpattern count = 0
|
| 1554 |
No options
|
| 1555 |
First char = 'a'
|
| 1556 |
Req char = 'b'
|
| 1557 |
|
| 1558 |
/ab\d{0}e/
|
| 1559 |
Identifying subpattern count = 0
|
| 1560 |
No options
|
| 1561 |
First char = 'a'
|
| 1562 |
Req char = 'e'
|
| 1563 |
|
| 1564 |
/a?b?/
|
| 1565 |
Identifying subpattern count = 0
|
| 1566 |
No options
|
| 1567 |
No first char
|
| 1568 |
No req char
|
| 1569 |
a
|
| 1570 |
0: a
|
| 1571 |
b
|
| 1572 |
0: b
|
| 1573 |
ab
|
| 1574 |
0: ab
|
| 1575 |
\
|
| 1576 |
0:
|
| 1577 |
*** Failers
|
| 1578 |
0:
|
| 1579 |
\N
|
| 1580 |
No match
|
| 1581 |
|
| 1582 |
/|-/
|
| 1583 |
Identifying subpattern count = 0
|
| 1584 |
No options
|
| 1585 |
No first char
|
| 1586 |
No req char
|
| 1587 |
abcd
|
| 1588 |
0:
|
| 1589 |
-abc
|
| 1590 |
0:
|
| 1591 |
\Nab-c
|
| 1592 |
0: -
|
| 1593 |
*** Failers
|
| 1594 |
0:
|
| 1595 |
\Nabc
|
| 1596 |
No match
|
| 1597 |
|
| 1598 |
/a*(b+)(z)(z)/P
|
| 1599 |
aaaabbbbzzzz
|
| 1600 |
0: aaaabbbbzz
|
| 1601 |
1: bbbb
|
| 1602 |
2: z
|
| 1603 |
3: z
|
| 1604 |
aaaabbbbzzzz\O0
|
| 1605 |
aaaabbbbzzzz\O1
|
| 1606 |
0: aaaabbbbzz
|
| 1607 |
aaaabbbbzzzz\O2
|
| 1608 |
0: aaaabbbbzz
|
| 1609 |
1: bbbb
|
| 1610 |
aaaabbbbzzzz\O3
|
| 1611 |
0: aaaabbbbzz
|
| 1612 |
1: bbbb
|
| 1613 |
2: z
|
| 1614 |
aaaabbbbzzzz\O4
|
| 1615 |
0: aaaabbbbzz
|
| 1616 |
1: bbbb
|
| 1617 |
2: z
|
| 1618 |
3: z
|
| 1619 |
aaaabbbbzzzz\O5
|
| 1620 |
0: aaaabbbbzz
|
| 1621 |
1: bbbb
|
| 1622 |
2: z
|
| 1623 |
3: z
|
| 1624 |
|
| 1625 |
/ End of test input /
|
| 1626 |
Identifying subpattern count = 0
|
| 1627 |
No options
|
| 1628 |
First char = ' '
|
| 1629 |
Req char = ' '
|
| 1630 |
|