@@ -2170,13 +2170,13 @@ Starting code units: % 0 1 A B C D E F G H I J K L M N O P Q R S T U V W
2170
2170
Subject length lower bound = 1
2171
2171
2172
2172
/[[.ch.]]/I
2173
- Failed: error 113 at offset 1 : POSIX collating elements are not supported
2173
+ Failed: error 113 at offset 7 : POSIX collating elements are not supported
2174
2174
2175
2175
/[[=ch=]]/I
2176
- Failed: error 113 at offset 1 : POSIX collating elements are not supported
2176
+ Failed: error 113 at offset 7 : POSIX collating elements are not supported
2177
2177
2178
2178
/[[:rhubarb:]]/I
2179
- Failed: error 130 at offset 3 : unknown POSIX class name
2179
+ Failed: error 130 at offset 12 : unknown POSIX class name
2180
2180
2181
2181
/[[:upper:]]/Ii
2182
2182
Capture group count = 0
@@ -8775,31 +8775,31 @@ Failed: error 162 at offset 4: subpattern name expected
8775
8775
Failed: error 162 at offset 4: subpattern name expected
8776
8776
8777
8777
/[[:foo:]]/
8778
- Failed: error 130 at offset 3 : unknown POSIX class name
8778
+ Failed: error 130 at offset 8 : unknown POSIX class name
8779
8779
8780
8780
/[[:1234:]]/
8781
- Failed: error 130 at offset 3 : unknown POSIX class name
8781
+ Failed: error 130 at offset 9 : unknown POSIX class name
8782
8782
8783
8783
/[[:f\oo:]]/
8784
- Failed: error 130 at offset 3 : unknown POSIX class name
8784
+ Failed: error 130 at offset 9 : unknown POSIX class name
8785
8785
8786
8786
/[[: :]]/
8787
- Failed: error 130 at offset 3 : unknown POSIX class name
8787
+ Failed: error 130 at offset 6 : unknown POSIX class name
8788
8788
8789
8789
/[[:...:]]/
8790
- Failed: error 130 at offset 3 : unknown POSIX class name
8790
+ Failed: error 130 at offset 8 : unknown POSIX class name
8791
8791
8792
8792
/[[:l\ower:]]/
8793
- Failed: error 130 at offset 3 : unknown POSIX class name
8793
+ Failed: error 130 at offset 11 : unknown POSIX class name
8794
8794
8795
8795
/[[:abc\:]]/
8796
- Failed: error 130 at offset 3 : unknown POSIX class name
8796
+ Failed: error 130 at offset 9 : unknown POSIX class name
8797
8797
8798
8798
/[abc[:x\]pqr:]]/
8799
- Failed: error 130 at offset 6 : unknown POSIX class name
8799
+ Failed: error 130 at offset 14 : unknown POSIX class name
8800
8800
8801
8801
/[[:a\dz:]]/
8802
- Failed: error 130 at offset 3 : unknown POSIX class name
8802
+ Failed: error 130 at offset 9 : unknown POSIX class name
8803
8803
8804
8804
/(^(a|b\g<-1'c))/
8805
8805
Failed: error 157 at offset 8: \g is not followed by a braced, angle-bracketed, or quoted name/number or by a plain number
@@ -11524,7 +11524,7 @@ Failed: error 171 at offset 4: \N is not supported in a class
11524
11524
aNc
11525
11525
11526
11526
/a[B-\Nc]/
11527
- Failed: error 150 at offset 6: invalid range in character class
11527
+ Failed: error 171 at offset 6: \N is not supported in a class
11528
11528
11529
11529
/a[B\Nc]/
11530
11530
Failed: error 171 at offset 5: \N is not supported in a class
@@ -13347,16 +13347,16 @@ Failed: error 178 at offset 5: digits missing after \x or in \x{} or \o{} or \N{
13347
13347
------------------------------------------------------------------
13348
13348
13349
13349
/[a-[:digit:]]+/
13350
- Failed: error 150 at offset 4 : invalid range in character class
13350
+ Failed: error 150 at offset 12 : invalid range in character class
13351
13351
13352
13352
/[A-[:digit:]]+/
13353
- Failed: error 150 at offset 4 : invalid range in character class
13353
+ Failed: error 150 at offset 12 : invalid range in character class
13354
13354
13355
13355
/[a-[.xxx.]]+/
13356
- Failed: error 150 at offset 4 : invalid range in character class
13356
+ Failed: error 150 at offset 10 : invalid range in character class
13357
13357
13358
13358
/[a-[=xxx=]]+/
13359
- Failed: error 150 at offset 4 : invalid range in character class
13359
+ Failed: error 150 at offset 10 : invalid range in character class
13360
13360
13361
13361
/[a-[!xxx!]]+/
13362
13362
Failed: error 108 at offset 3: range out of order in character class
@@ -13477,7 +13477,7 @@ No match
13477
13477
No match
13478
13478
13479
13479
/[a[:<:]] should give error/
13480
- Failed: error 130 at offset 4 : unknown POSIX class name
13480
+ Failed: error 130 at offset 7 : unknown POSIX class name
13481
13481
13482
13482
/(?=ab\K)/aftertext,allow_lookaround_bsk
13483
13483
abcd\=startchar
@@ -15879,11 +15879,11 @@ Failed: error 125 at offset 13: length of lookbehind assertion is not limited
15879
15879
# Perl accepts these, but gives a warning. We can't warn, so give an error.
15880
15880
15881
15881
/[a-[:digit:]]+/
15882
- Failed: error 150 at offset 4 : invalid range in character class
15882
+ Failed: error 150 at offset 12 : invalid range in character class
15883
15883
a-a9-a
15884
15884
15885
15885
/[A-[:digit:]]+/
15886
- Failed: error 150 at offset 4 : invalid range in character class
15886
+ Failed: error 150 at offset 12 : invalid range in character class
15887
15887
A-A9-A
15888
15888
15889
15889
/[a-\d]+/
@@ -16020,7 +16020,7 @@ Failed: error 128 at offset 63: atomic assertion expected after (?( or (?(?C)
16020
16020
.+(?(?C'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'))?!XXXX.=X
16021
16021
16022
16022
/[:[:alnum:]-[[a:lnum:]+/
16023
- Failed: error 150 at offset 11 : invalid range in character class
16023
+ Failed: error 150 at offset 12 : invalid range in character class
16024
16024
16025
16025
/((?(?C'')\QX\E(?!((?(?C'')(?!X=X));=)r*X=X));=)/
16026
16026
Failed: error 128 at offset 11: atomic assertion expected after (?( or (?(?C)
@@ -16654,10 +16654,10 @@ Subject length lower bound = 3
16654
16654
------------------------------------------------------------------
16655
16655
16656
16656
/[Q-\N]/B,bad_escape_is_literal
16657
- Failed: error 150 at offset 5: invalid range in character class
16657
+ Failed: error 171 at offset 5: \N is not supported in a class
16658
16658
16659
16659
/[\s-_]/bad_escape_is_literal
16660
- Failed: error 150 at offset 3 : invalid range in character class
16660
+ Failed: error 150 at offset 4 : invalid range in character class
16661
16661
16662
16662
/[_-\s]/bad_escape_is_literal
16663
16663
Failed: error 150 at offset 5: invalid range in character class
@@ -16857,19 +16857,19 @@ No match
16857
16857
No match
16858
16858
16859
16859
/[[:digit:]-a]/
16860
- Failed: error 150 at offset 10 : invalid range in character class
16860
+ Failed: error 150 at offset 11 : invalid range in character class
16861
16861
16862
16862
/[[:digit:]-[:print:]]/
16863
- Failed: error 150 at offset 10 : invalid range in character class
16863
+ Failed: error 150 at offset 11 : invalid range in character class
16864
16864
16865
16865
/[\d-a]/
16866
- Failed: error 150 at offset 3 : invalid range in character class
16866
+ Failed: error 150 at offset 4 : invalid range in character class
16867
16867
16868
16868
/[\H-z]/
16869
- Failed: error 150 at offset 3 : invalid range in character class
16869
+ Failed: error 150 at offset 4 : invalid range in character class
16870
16870
16871
16871
/[\d-[:print:]]/
16872
- Failed: error 150 at offset 3 : invalid range in character class
16872
+ Failed: error 150 at offset 4 : invalid range in character class
16873
16873
16874
16874
# Perl gets the second of these wrong, giving no match.
16875
16875
@@ -20619,7 +20619,7 @@ Failed: error 211 at offset 7: brackets needed to clarify operator precedence in
20619
20619
No match
20620
20620
20621
20621
/[\d-z]/B,alt_extended_class
20622
- Failed: error 150 at offset 3 : invalid range in character class
20622
+ Failed: error 150 at offset 4 : invalid range in character class
20623
20623
20624
20624
/[z-\d]/B,alt_extended_class
20625
20625
Failed: error 150 at offset 5: invalid range in character class
@@ -20654,16 +20654,28 @@ Failed: error 207 at offset 118: character classes are too deeply nested
20654
20654
# --------------
20655
20655
20656
20656
/[[:digit:] -Z]/xx
20657
- Failed: error 150 at offset 10 : invalid range in character class
20657
+ Failed: error 150 at offset 14 : invalid range in character class
20658
20658
20659
20659
/[\d -Z]/xx
20660
- Failed: error 150 at offset 3 : invalid range in character class
20660
+ Failed: error 150 at offset 7 : invalid range in character class
20661
20661
20662
20662
/[[:digit:]\E-H]/
20663
- Failed: error 150 at offset 10 : invalid range in character class
20663
+ Failed: error 150 at offset 13 : invalid range in character class
20664
20664
20665
20665
/[[:digit:]\Q\E-H]+/
20666
- Failed: error 150 at offset 10: invalid range in character class
20666
+ Failed: error 150 at offset 15: invalid range in character class
20667
+
20668
+ /[z-[:space:]]/
20669
+ Failed: error 150 at offset 12: invalid range in character class
20670
+
20671
+ /[z-\d]/
20672
+ Failed: error 150 at offset 5: invalid range in character class
20673
+
20674
+ /[[:space:]-z]/
20675
+ Failed: error 150 at offset 11: invalid range in character class
20676
+
20677
+ /[\d-z]/
20678
+ Failed: error 150 at offset 4: invalid range in character class
20667
20679
20668
20680
# End of testinput2
20669
20681
Error -70: PCRE2_ERROR_BADDATA (unknown error number)
0 commit comments