@@ -5251,13 +5251,25 @@ No match
5251
5251
\x{660}\x{660}\x{660}
5252
5252
No match
5253
5253
5254
+ /\d(?-aD)\d(?aD)\d/utf,ucp,ascii_bsd
5255
+ 999
5256
+ 0: 999
5257
+ 9\x{660}9
5258
+ 0: 9\x{660}9
5259
+
5254
5260
/\d(?a)\d(?-a)\d/utf,ucp
5255
5261
\x{660}9\x{660}
5256
5262
0: \x{660}9\x{660}
5257
5263
\= Expect no match
5258
5264
\x{660}\x{660}\x{660}
5259
5265
No match
5260
5266
5267
+ /\d(?-aD)\d(?aD)\d/utf,ucp,ascii_bsd
5268
+ 999
5269
+ 0: 999
5270
+ 9\x{660}9
5271
+ 0: 9\x{660}9
5272
+
5261
5273
# SPACES
5262
5274
5263
5275
/>\s+</i,utf
@@ -5375,23 +5387,82 @@ No match
5375
5387
5376
5388
# POSIX
5377
5389
5378
- /[[:digit:]]+/utf,ucp
5390
+ /^[[:digit:]]+$/utf,ucp
5391
+ 123456
5392
+ 0: 123456
5379
5393
123\x{660}456
5380
5394
0: 123\x{660}456
5381
5395
5382
- /[[:digit:]]+/utf,ucp,ascii_digit
5396
+ /^[[:digit:]]+$/utf,ucp,ascii_digit
5397
+ 123456
5398
+ 0: 123456
5399
+ \= Expect no match
5383
5400
123\x{660}456
5384
- 0: 123
5401
+ No match
5385
5402
5386
5403
/[[:digit:]]+/g,utf,ucp,ascii_digit
5387
5404
123\x{660}456
5388
5405
0: 123
5389
5406
0: 456
5390
5407
5408
+ /(?-aT)[[:digit:]](?aT)[[:digit:]]/utf,ucp,ascii_digit
5409
+ 11
5410
+ 0: 11
5411
+ \x{ff11}1
5412
+ 0: \x{ff11}1
5413
+ \= Expect no match
5414
+ 1\x{ff11}
5415
+ No match
5416
+
5417
+ /(?-aT:[[:digit:]])[[:digit:]]/utf,ucp,ascii_digit
5418
+ 11
5419
+ 0: 11
5420
+ \x{ff11}1
5421
+ 0: \x{ff11}1
5422
+ \= Expect no match
5423
+ 1\x{ff11}
5424
+ No match
5425
+
5426
+ /(?-aT:[[:digit:]])[[:digit:]]/utf,never_ucp,ascii_digit
5427
+ 11
5428
+ 0: 11
5429
+ \= Expect no match
5430
+ \x{ff11}1
5431
+ No match
5432
+ 1\x{ff11}
5433
+ No match
5434
+
5391
5435
/[[:digit:]]+/utf,ucp,ascii_posix
5392
5436
123\x{660}456
5393
5437
0: 123
5394
5438
5439
+ /(?-aP)[[:digit:]](?aP)[[:digit:]]/utf,ucp,ascii_posix
5440
+ 11
5441
+ 0: 11
5442
+ \x{ff11}1
5443
+ 0: \x{ff11}1
5444
+ \= Expect no match
5445
+ 1\x{ff11}
5446
+ No match
5447
+
5448
+ /(?-aP:[[:digit:]])[[:digit:]]/utf,ucp,ascii_posix
5449
+ 11
5450
+ 0: 11
5451
+ \x{ff11}1
5452
+ 0: \x{ff11}1
5453
+ \= Expect no match
5454
+ 1\x{ff11}
5455
+ No match
5456
+
5457
+ /(?-a:[[:digit:]])[[:digit:]]/a,utf,ucp
5458
+ 11
5459
+ 0: 11
5460
+ \x{ff11}1
5461
+ 0: \x{ff11}1
5462
+ \= Expect no match
5463
+ 1\x{ff11}
5464
+ No match
5465
+
5395
5466
/^[[:xdigit:]]+$/utf,ucp
5396
5467
f0
5397
5468
0: f0
0 commit comments