| 1 |
Testing Perl-Compatible Regular Expressions
|
| 2 |
PCRE version 1.06 23-Jan-1998
|
| 3 |
|
| 4 |
/(a)b|/
|
| 5 |
Identifying subpattern count = 1
|
| 6 |
No options
|
| 7 |
No first char
|
| 8 |
|
| 9 |
/(a*)*/
|
| 10 |
Failed: operand of unlimited repeat could match the empty string at offset 4
|
| 11 |
|
| 12 |
/(abc|)+/
|
| 13 |
Failed: operand of unlimited repeat could match the empty string at offset 6
|
| 14 |
|
| 15 |
/abc/
|
| 16 |
Identifying subpattern count = 0
|
| 17 |
No options
|
| 18 |
First char = 'a'
|
| 19 |
abc
|
| 20 |
0: abc
|
| 21 |
defabc
|
| 22 |
0: abc
|
| 23 |
\Aabc
|
| 24 |
0: abc
|
| 25 |
\IABC
|
| 26 |
0: ABC
|
| 27 |
*** Failers
|
| 28 |
No match
|
| 29 |
\Adefabc
|
| 30 |
No match
|
| 31 |
ABC
|
| 32 |
No match
|
| 33 |
|
| 34 |
/^abc/
|
| 35 |
Identifying subpattern count = 0
|
| 36 |
Options: anchored
|
| 37 |
No first char
|
| 38 |
abc
|
| 39 |
0: abc
|
| 40 |
\Aabc
|
| 41 |
0: abc
|
| 42 |
*** Failers
|
| 43 |
No match
|
| 44 |
defabc
|
| 45 |
No match
|
| 46 |
\Adefabc
|
| 47 |
No match
|
| 48 |
|
| 49 |
/a+bc/
|
| 50 |
Identifying subpattern count = 0
|
| 51 |
No options
|
| 52 |
First char = 'a'
|
| 53 |
|
| 54 |
/a*bc/
|
| 55 |
Identifying subpattern count = 0
|
| 56 |
No options
|
| 57 |
No first char
|
| 58 |
|
| 59 |
/a{3}bc/
|
| 60 |
Identifying subpattern count = 0
|
| 61 |
No options
|
| 62 |
First char = 'a'
|
| 63 |
|
| 64 |
/(abc|a+z)/
|
| 65 |
Identifying subpattern count = 1
|
| 66 |
No options
|
| 67 |
First char = 'a'
|
| 68 |
|
| 69 |
/^abc$/
|
| 70 |
Identifying subpattern count = 0
|
| 71 |
Options: anchored
|
| 72 |
No first char
|
| 73 |
abc
|
| 74 |
0: abc
|
| 75 |
\Mdef\nabc
|
| 76 |
0: abc
|
| 77 |
*** Failers
|
| 78 |
No match
|
| 79 |
def\nabc
|
| 80 |
No match
|
| 81 |
|
| 82 |
/abc\/
|
| 83 |
Failed: \ at end of pattern at offset 4
|
| 84 |
|
| 85 |
/ab\gdef/X
|
| 86 |
Failed: unrecognized character follows \ at offset 3
|
| 87 |
|
| 88 |
/x{5,4}/
|
| 89 |
Failed: numbers out of order in {} quantifier at offset 5
|
| 90 |
|
| 91 |
/z{65536}/
|
| 92 |
Failed: number too big in {} quantifier at offset 7
|
| 93 |
|
| 94 |
/[abcd/
|
| 95 |
Failed: missing terminating ] for character class at offset 5
|
| 96 |
|
| 97 |
/[\B]/
|
| 98 |
Failed: invalid escape sequence in character class at offset 2
|
| 99 |
|
| 100 |
/[a-\w]/
|
| 101 |
Failed: invalid escape sequence in character class at offset 4
|
| 102 |
|
| 103 |
/[z-a]/
|
| 104 |
Failed: range out of order in character class at offset 3
|
| 105 |
|
| 106 |
/^*/
|
| 107 |
Failed: nothing to repeat at offset 1
|
| 108 |
|
| 109 |
/(abc/
|
| 110 |
Failed: missing ) at offset 4
|
| 111 |
|
| 112 |
/(?# abc/
|
| 113 |
Failed: missing ) after comment at offset 7
|
| 114 |
|
| 115 |
/(?z)abc/
|
| 116 |
Failed: unrecognized character after (? at offset 2
|
| 117 |
|
| 118 |
/.*b/
|
| 119 |
Identifying subpattern count = 0
|
| 120 |
Options: anchored
|
| 121 |
No first char
|
| 122 |
|
| 123 |
/.*?b/
|
| 124 |
Identifying subpattern count = 0
|
| 125 |
Options: anchored
|
| 126 |
No first char
|
| 127 |
|
| 128 |
/cat|dog|elephant/
|
| 129 |
Identifying subpattern count = 0
|
| 130 |
No options
|
| 131 |
No first 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 |
Starting character set: c d e
|
| 142 |
this sentence eventually mentions a cat
|
| 143 |
0: cat
|
| 144 |
this sentences rambles on and on for a while and then reaches elephant
|
| 145 |
0: elephant
|
| 146 |
|
| 147 |
/cat|dog|elephant/iS
|
| 148 |
Identifying subpattern count = 0
|
| 149 |
Options: caseless
|
| 150 |
No first char
|
| 151 |
Starting character set: C D E c d e
|
| 152 |
this sentence eventually mentions a CAT cat
|
| 153 |
0: CAT
|
| 154 |
this sentences rambles on and on for a while to elephant ElePhant
|
| 155 |
0: elephant
|
| 156 |
|
| 157 |
/cat|dog|elephant/IS
|
| 158 |
Identifying subpattern count = 0
|
| 159 |
No options
|
| 160 |
No first char
|
| 161 |
Starting character set: C D E c d e
|
| 162 |
this sentence eventually mentions a CAT cat
|
| 163 |
0: cat
|
| 164 |
this sentences rambles on and on for a while to elephant ElePhant
|
| 165 |
0: elephant
|
| 166 |
|
| 167 |
/cat|dog|elephant/IS
|
| 168 |
Identifying subpattern count = 0
|
| 169 |
No options
|
| 170 |
No first char
|
| 171 |
Starting character set: C D E c d e
|
| 172 |
\Ithis sentence eventually mentions a CAT cat
|
| 173 |
0: CAT
|
| 174 |
\Ithis sentences rambles on and on for a while to elephant ElePhant
|
| 175 |
0: elephant
|
| 176 |
|
| 177 |
/a|[bcd]/S
|
| 178 |
Identifying subpattern count = 0
|
| 179 |
No options
|
| 180 |
No first char
|
| 181 |
Starting character set: a b c d
|
| 182 |
|
| 183 |
/(a|[^\dZ])/S
|
| 184 |
Identifying subpattern count = 1
|
| 185 |
No options
|
| 186 |
No first char
|
| 187 |
Starting character set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
|
| 188 |
\x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
|
| 189 |
\x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / : ; < = >
|
| 190 |
? @ 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
|
| 191 |
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
|
| 192 |
\x84 \x85 \x86 \x87 \x88 \x89 \x8a \x8b \x8c \x8d \x8e \x8f \x90 \x91 \x92
|
| 193 |
\x93 \x94 \x95 \x96 \x97 \x98 \x99 \x9a \x9b \x9c \x9d \x9e \x9f \xa0 \xa1
|
| 194 |
\xa2 \xa3 \xa4 \xa5 \xa6 \xa7 \xa8 \xa9 \xaa \xab \xac \xad \xae \xaf \xb0
|
| 195 |
\xb1 \xb2 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb \xbc \xbd \xbe \xbf
|
| 196 |
\xc0 \xc1 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce
|
| 197 |
\xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd
|
| 198 |
\xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec
|
| 199 |
\xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb
|
| 200 |
\xfc \xfd \xfe \xff
|
| 201 |
|
| 202 |
/(a|b)*[\s]/S
|
| 203 |
Identifying subpattern count = 1
|
| 204 |
No options
|
| 205 |
No first char
|
| 206 |
Starting character set: \x09 \x0a \x0b \x0c \x0d \x20 a b
|
| 207 |
|
| 208 |
/(ab\2)/
|
| 209 |
Failed: back reference to non-existent subpattern at offset 4
|
| 210 |
|
| 211 |
/{4,5}abc/
|
| 212 |
Failed: nothing to repeat at offset 4
|
| 213 |
|
| 214 |
/(a)(b)(c)\2/
|
| 215 |
Identifying subpattern count = 3
|
| 216 |
No options
|
| 217 |
First char = 'a'
|
| 218 |
abcb
|
| 219 |
0: abcb
|
| 220 |
1: a
|
| 221 |
2: b
|
| 222 |
3: c
|
| 223 |
\O0abcb
|
| 224 |
Matched, but too many substrings
|
| 225 |
\O2abcb
|
| 226 |
Matched, but too many substrings
|
| 227 |
0: abcb
|
| 228 |
\O4abcb
|
| 229 |
Matched, but too many substrings
|
| 230 |
0: abcb
|
| 231 |
1: a
|
| 232 |
\O6abcb
|
| 233 |
Matched, but too many substrings
|
| 234 |
0: abcb
|
| 235 |
1: a
|
| 236 |
2: b
|
| 237 |
\O8abcb
|
| 238 |
0: abcb
|
| 239 |
1: a
|
| 240 |
2: b
|
| 241 |
3: c
|
| 242 |
|
| 243 |
/(a)bc|(a)(b)\2/
|
| 244 |
Identifying subpattern count = 3
|
| 245 |
No options
|
| 246 |
First char = 'a'
|
| 247 |
abc
|
| 248 |
0: abc
|
| 249 |
1: a
|
| 250 |
\O0abc
|
| 251 |
Matched, but too many substrings
|
| 252 |
\O2abc
|
| 253 |
Matched, but too many substrings
|
| 254 |
0: abc
|
| 255 |
\O4abc
|
| 256 |
0: abc
|
| 257 |
1: a
|
| 258 |
aba
|
| 259 |
0: aba
|
| 260 |
1: <unset>
|
| 261 |
2: a
|
| 262 |
3: b
|
| 263 |
\O0aba
|
| 264 |
Matched, but too many substrings
|
| 265 |
\O2aba
|
| 266 |
Matched, but too many substrings
|
| 267 |
0: aba
|
| 268 |
\O4aba
|
| 269 |
Matched, but too many substrings
|
| 270 |
0: aba
|
| 271 |
1: <unset>
|
| 272 |
\O6aba
|
| 273 |
Matched, but too many substrings
|
| 274 |
0: aba
|
| 275 |
1: <unset>
|
| 276 |
2: a
|
| 277 |
\O8aba
|
| 278 |
0: aba
|
| 279 |
1: <unset>
|
| 280 |
2: a
|
| 281 |
3: b
|
| 282 |
|
| 283 |
/^a.b/
|
| 284 |
Identifying subpattern count = 0
|
| 285 |
Options: anchored
|
| 286 |
No first char
|
| 287 |
\Sa\nb
|
| 288 |
0: a\x0ab
|
| 289 |
|
| 290 |
/abc$/E
|
| 291 |
Identifying subpattern count = 0
|
| 292 |
Options: dollar_endonly
|
| 293 |
First char = 'a'
|
| 294 |
abc
|
| 295 |
0: abc
|
| 296 |
*** Failers
|
| 297 |
No match
|
| 298 |
abc\n
|
| 299 |
No match
|
| 300 |
abc\ndef
|
| 301 |
No match
|
| 302 |
|
| 303 |
/abc$/
|
| 304 |
Identifying subpattern count = 0
|
| 305 |
No options
|
| 306 |
First char = 'a'
|
| 307 |
*** Failers
|
| 308 |
No match
|
| 309 |
\Eabc\n
|
| 310 |
No match
|
| 311 |
\Eabc\ndef
|
| 312 |
No match
|
| 313 |
|
| 314 |
/abc$/m
|
| 315 |
Identifying subpattern count = 0
|
| 316 |
Options: multiline
|
| 317 |
First char = 'a'
|
| 318 |
\Eabc\n
|
| 319 |
0: abc
|
| 320 |
\Eabc\ndef
|
| 321 |
0: abc
|
| 322 |
|
| 323 |
/(a)(b)(c)(d)(e)\6/
|
| 324 |
Failed: back reference to non-existent subpattern at offset 16
|
| 325 |
|
| 326 |
/the quick brown fox/
|
| 327 |
Identifying subpattern count = 0
|
| 328 |
No options
|
| 329 |
First char = 't'
|
| 330 |
the quick brown fox
|
| 331 |
0: the quick brown fox
|
| 332 |
this is a line with the quick brown fox
|
| 333 |
0: the quick brown fox
|
| 334 |
|
| 335 |
/the quick brown fox/A
|
| 336 |
Identifying subpattern count = 0
|
| 337 |
Options: anchored
|
| 338 |
No first char
|
| 339 |
the quick brown fox
|
| 340 |
0: the quick brown fox
|
| 341 |
*** Failers
|
| 342 |
No match
|
| 343 |
this is a line with the quick brown fox
|
| 344 |
No match
|
| 345 |
|
| 346 |
/ab(?z)cd/
|
| 347 |
Failed: unrecognized character after (? at offset 4
|
| 348 |
|
| 349 |
".*/\Xfoo"X
|
| 350 |
Identifying subpattern count = 0
|
| 351 |
Options: anchored extra
|
| 352 |
No first char
|
| 353 |
/this/is/a/very/long/line/in/deed/with/very/many/slashes/in/it/you/see/
|
| 354 |
No match
|
| 355 |
|
| 356 |
".*/\Xfoo"X
|
| 357 |
Identifying subpattern count = 0
|
| 358 |
Options: anchored extra
|
| 359 |
No first char
|
| 360 |
/this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
|
| 361 |
0: /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
|
| 362 |
|
| 363 |
/(\.\d\d[1-9]?)\d+/
|
| 364 |
Identifying subpattern count = 1
|
| 365 |
No options
|
| 366 |
First char = '.'
|
| 367 |
1.230003938
|
| 368 |
0: .230003938
|
| 369 |
1: .23
|
| 370 |
1.875000282
|
| 371 |
0: .875000282
|
| 372 |
1: .875
|
| 373 |
1.235
|
| 374 |
0: .235
|
| 375 |
1: .23
|
| 376 |
|
| 377 |
/(\.\d\d[1-9]?)\X\d+/X
|
| 378 |
Identifying subpattern count = 1
|
| 379 |
Options: extra
|
| 380 |
First char = '.'
|
| 381 |
1.230003938
|
| 382 |
0: .230003938
|
| 383 |
1: .23
|
| 384 |
1.875000282
|
| 385 |
0: .875000282
|
| 386 |
1: .875
|
| 387 |
*** Failers
|
| 388 |
No match
|
| 389 |
1.235
|
| 390 |
No match
|
| 391 |
|
| 392 |
/(\.\d\d((?=0)|\d(?=\d)))/
|
| 393 |
Identifying subpattern count = 2
|
| 394 |
No options
|
| 395 |
First char = '.'
|
| 396 |
1.230003938
|
| 397 |
0: .23
|
| 398 |
1: .23
|
| 399 |
2:
|
| 400 |
1.875000282
|
| 401 |
0: .875
|
| 402 |
1: .875
|
| 403 |
2: 5
|
| 404 |
*** Failers
|
| 405 |
No match
|
| 406 |
1.235
|
| 407 |
No match
|
| 408 |
|
| 409 |
/^(\w+\X|\s+\X)*$/X
|
| 410 |
Identifying subpattern count = 1
|
| 411 |
Options: anchored extra
|
| 412 |
No first char
|
| 413 |
now is the time for all good men to come to the aid of the party
|
| 414 |
0: now is the time for all good men to come to the aid of the party
|
| 415 |
1: party
|
| 416 |
*** Failers
|
| 417 |
No match
|
| 418 |
this is not a line with only words and spaces!
|
| 419 |
No match
|
| 420 |
|
| 421 |
/^abc|def/
|
| 422 |
Identifying subpattern count = 0
|
| 423 |
No options
|
| 424 |
No first char
|
| 425 |
abcdef
|
| 426 |
0: abc
|
| 427 |
abcdef\B
|
| 428 |
0: def
|
| 429 |
|
| 430 |
/.*((abc)$|(def))/
|
| 431 |
Identifying subpattern count = 3
|
| 432 |
Options: anchored
|
| 433 |
No first char
|
| 434 |
defabc
|
| 435 |
0: defabc
|
| 436 |
1: abc
|
| 437 |
2: abc
|
| 438 |
\Zdefabc
|
| 439 |
0: def
|
| 440 |
1: def
|
| 441 |
2: <unset>
|
| 442 |
3: def
|
| 443 |
|
| 444 |
/abc/P
|
| 445 |
abc
|
| 446 |
0: abc
|
| 447 |
*** Failers
|
| 448 |
No match: POSIX code 17: match failed
|
| 449 |
|
| 450 |
/^abc|def/P
|
| 451 |
abcdef
|
| 452 |
0: abc
|
| 453 |
abcdef\B
|
| 454 |
0: def
|
| 455 |
|
| 456 |
/.*((abc)$|(def))/P
|
| 457 |
defabc
|
| 458 |
0: defabc
|
| 459 |
1: abc
|
| 460 |
2: abc
|
| 461 |
\Zdefabc
|
| 462 |
0: def
|
| 463 |
1: def
|
| 464 |
3: def
|
| 465 |
|
| 466 |
/the quick brown fox/P
|
| 467 |
the quick brown fox
|
| 468 |
0: the quick brown fox
|
| 469 |
*** Failers
|
| 470 |
No match: POSIX code 17: match failed
|
| 471 |
The Quick Brown Fox
|
| 472 |
No match: POSIX code 17: match failed
|
| 473 |
|
| 474 |
/the quick brown fox/Pi
|
| 475 |
the quick brown fox
|
| 476 |
0: the quick brown fox
|
| 477 |
The Quick Brown Fox
|
| 478 |
0: The Quick Brown Fox
|
| 479 |
|
| 480 |
/abc.def/P
|
| 481 |
*** Failers
|
| 482 |
No match: POSIX code 17: match failed
|
| 483 |
abc\ndef
|
| 484 |
No match: POSIX code 17: match failed
|
| 485 |
|
| 486 |
/abc$/P
|
| 487 |
abc
|
| 488 |
0: abc
|
| 489 |
abc\n
|
| 490 |
0: abc
|
| 491 |
|
| 492 |
/abc\/P
|
| 493 |
Failed: POSIX code 9: bad escape sequence at offset 4
|
| 494 |
|
| 495 |
/(abc)\2/P
|
| 496 |
Failed: POSIX code 15: bad back reference at offset 6
|
| 497 |
|
| 498 |
/(abc\1)/P
|
| 499 |
abc
|
| 500 |
No match: POSIX code 15: bad back reference
|
| 501 |
|
| 502 |
"(?>.*/)foo"X
|
| 503 |
Identifying subpattern count = 0
|
| 504 |
Options: anchored extra
|
| 505 |
No first char
|
| 506 |
/this/is/a/very/long/line/in/deed/with/very/many/slashes/in/it/you/see/
|
| 507 |
No match
|
| 508 |
|
| 509 |
"(?>.*/)foo"X
|
| 510 |
Identifying subpattern count = 0
|
| 511 |
Options: anchored extra
|
| 512 |
No first char
|
| 513 |
/this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
|
| 514 |
0: /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
|
| 515 |
|
| 516 |
/(?>(\.\d\d[1-9]?))\d+/X
|
| 517 |
Identifying subpattern count = 1
|
| 518 |
Options: extra
|
| 519 |
No first char
|
| 520 |
1.230003938
|
| 521 |
0: .230003938
|
| 522 |
1: .23
|
| 523 |
1.875000282
|
| 524 |
0: .875000282
|
| 525 |
1: .875
|
| 526 |
*** Failers
|
| 527 |
No match
|
| 528 |
1.235
|
| 529 |
No match
|
| 530 |
|
| 531 |
/^((?>\w+)|(?>\s+))*$/X
|
| 532 |
Identifying subpattern count = 1
|
| 533 |
Options: anchored extra
|
| 534 |
No first char
|
| 535 |
now is the time for all good men to come to the aid of the party
|
| 536 |
0: now is the time for all good men to come to the aid of the party
|
| 537 |
1: party
|
| 538 |
*** Failers
|
| 539 |
No match
|
| 540 |
this is not a line with only words and spaces!
|
| 541 |
No match
|
| 542 |
|
| 543 |
/(\d+)(\w)/X
|
| 544 |
Identifying subpattern count = 2
|
| 545 |
Options: extra
|
| 546 |
No first char
|
| 547 |
12345a
|
| 548 |
0: 12345a
|
| 549 |
1: 12345
|
| 550 |
2: a
|
| 551 |
12345+
|
| 552 |
0: 12345
|
| 553 |
1: 1234
|
| 554 |
2: 5
|
| 555 |
|
| 556 |
/((?>\d+))(\w)/X
|
| 557 |
Identifying subpattern count = 2
|
| 558 |
Options: extra
|
| 559 |
No first char
|
| 560 |
12345a
|
| 561 |
0: 12345a
|
| 562 |
1: 12345
|
| 563 |
2: a
|
| 564 |
*** Failers
|
| 565 |
No match
|
| 566 |
12345+
|
| 567 |
No match
|
| 568 |
|
| 569 |
/([a]*)*/
|
| 570 |
Failed: operand of unlimited repeat could match the empty string at offset 6
|
| 571 |
|
| 572 |
/([ab]*)*/
|
| 573 |
Failed: operand of unlimited repeat could match the empty string at offset 7
|
| 574 |
|
| 575 |
/([^a]*)*/
|
| 576 |
Failed: operand of unlimited repeat could match the empty string at offset 7
|
| 577 |
|
| 578 |
/([^ab]*)*/
|
| 579 |
Failed: operand of unlimited repeat could match the empty string at offset 8
|
| 580 |
|
| 581 |
/([a]*?)*/
|
| 582 |
Failed: operand of unlimited repeat could match the empty string at offset 7
|
| 583 |
|
| 584 |
/([ab]*?)*/
|
| 585 |
Failed: operand of unlimited repeat could match the empty string at offset 8
|
| 586 |
|
| 587 |
/([^a]*?)*/
|
| 588 |
Failed: operand of unlimited repeat could match the empty string at offset 8
|
| 589 |
|
| 590 |
/([^ab]*?)*/
|
| 591 |
Failed: operand of unlimited repeat could match the empty string at offset 9
|
| 592 |
|
| 593 |
/(?>a*)*/X
|
| 594 |
Failed: nothing to repeat at offset 6
|
| 595 |
|
| 596 |
/((?>a*))*/X
|
| 597 |
Failed: operand of unlimited repeat could match the empty string at offset 8
|
| 598 |
|
| 599 |
/((?>a*?))*/X
|
| 600 |
Failed: operand of unlimited repeat could match the empty string at offset 9
|
| 601 |
|
| 602 |
/)/
|
| 603 |
Failed: unmatched brackets at offset 0
|
| 604 |
|
| 605 |
/a[]b/
|
| 606 |
Failed: missing terminating ] for character class at offset 4
|
| 607 |
|
| 608 |
/[^a]/
|
| 609 |
Identifying subpattern count = 0
|
| 610 |
No options
|
| 611 |
No first char
|
| 612 |
\Iaaaabcd
|
| 613 |
0: b
|
| 614 |
\IaaAabcd
|
| 615 |
0: b
|
| 616 |
|
| 617 |
/[^az]/
|
| 618 |
Identifying subpattern count = 0
|
| 619 |
No options
|
| 620 |
No first char
|
| 621 |
\Iaaaabcd
|
| 622 |
0: b
|
| 623 |
\IaaAabcd
|
| 624 |
0: b
|
| 625 |
|
| 626 |
/[^az]/
|
| 627 |
Identifying subpattern count = 0
|
| 628 |
No options
|
| 629 |
No first char
|
| 630 |
\Izazabcd
|
| 631 |
0: b
|
| 632 |
\IAaZabcd
|
| 633 |
0: b
|
| 634 |
|
| 635 |
/[^aeiou ]{3,}/
|
| 636 |
Identifying subpattern count = 0
|
| 637 |
No options
|
| 638 |
No first char
|
| 639 |
co-processors, and for
|
| 640 |
0: -pr
|
| 641 |
\Ico-processors, and for
|
| 642 |
0: -pr
|
| 643 |
|
| 644 |
/ End of test input /
|
| 645 |
Identifying subpattern count = 0
|
| 646 |
No options
|
| 647 |
First char = ' '
|
| 648 |
|