/[pcre]/code/trunk/testdata/testoutput5
ViewVC logotype

Diff of /code/trunk/testdata/testoutput5

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 295 by ph10, Mon Dec 31 17:00:24 2007 UTC revision 652 by ph10, Mon Aug 1 16:42:03 2011 UTC
# Line 1  Line 1 
1    /-- This set of tests checks the API, internals, and non-Perl stuff for UTF-8
2        support, excluding Unicode properties. --/
3    
4  /\x{100}/8DZ  /\x{100}/8DZ
5  ------------------------------------------------------------------  ------------------------------------------------------------------
6          Bra          Bra
# Line 252  Need char = 171 Line 255  Need char = 171
255          End          End
256  ------------------------------------------------------------------  ------------------------------------------------------------------
257  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
258  Options: utf8  Options: utf8
259  No first char  No first char
260  Need char = 'X'  Need char = 'X'
# Line 269  Need char = 'X' Line 271  Need char = 'X'
271          End          End
272  ------------------------------------------------------------------  ------------------------------------------------------------------
273  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
274  Options: utf8  Options: utf8
275  No first char  No first char
276  No need char  No need char
277      \x{212ab}\x{212ab}\x{212ab}\x{861}      \x{212ab}\x{212ab}\x{212ab}\x{861}
278   0: \x{212ab}\x{212ab}\x{212ab}   0: \x{212ab}\x{212ab}\x{212ab}
279    
 /-- These tests are here rather than in testinput4 because Perl 5.6 has some  
 problems with UTF-8 support, in the area of \x{..} where the value is < 255.  
 It grumbles about invalid UTF-8 strings. --/  
   
 /^[a\x{c0}]b/8  
     \x{c0}b  
  0: \x{c0}b  
   
 /^([a\x{c0}]*?)aa/8  
     a\x{c0}aaaa/  
  0: a\x{c0}aa  
  1: a\x{c0}  
   
 /^([a\x{c0}]*?)aa/8  
     a\x{c0}aaaa/  
  0: a\x{c0}aa  
  1: a\x{c0}  
     a\x{c0}a\x{c0}aaa/  
  0: a\x{c0}a\x{c0}aa  
  1: a\x{c0}a\x{c0}  
   
 /^([a\x{c0}]*)aa/8  
     a\x{c0}aaaa/  
  0: a\x{c0}aaaa  
  1: a\x{c0}aa  
     a\x{c0}a\x{c0}aaa/  
  0: a\x{c0}a\x{c0}aaa  
  1: a\x{c0}a\x{c0}a  
   
 /^([a\x{c0}]*)a\x{c0}/8  
     a\x{c0}aaaa/  
  0: a\x{c0}  
  1:  
     a\x{c0}a\x{c0}aaa/  
  0: a\x{c0}a\x{c0}  
  1: a\x{c0}  
   
 /-- --/  
   
280  /(?<=\C)X/8  /(?<=\C)X/8
281  Failed: \C not allowed in lookbehind assertion at offset 6  Failed: \C not allowed in lookbehind assertion at offset 6
282    
# Line 331  can't tell the difference.) --/ Line 293  can't tell the difference.) --/
293   0: X\x{0a}abc   0: X\x{0a}abc
294   1: \x{0a}   1: \x{0a}
295   2: abc   2: abc
296    
297    /-- This one is here because Perl gives out a grumbly error message (quite
298    correctly, but that messes up comparisons). --/
299    
300    /a\Cb/8
301        *** Failers
302    No match
303        a\x{100}b
304    No match
305    
306  /^[ab]/8DZ  /^[ab]/8DZ
307  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 389  Capturing subpattern count = 0 Line 360  Capturing subpattern count = 0
360  Options: utf8  Options: utf8
361  No first char  No first char
362  No need char  No need char
363    Subject length lower bound = 1
364  Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a  Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
365    \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19    \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
366    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
# Line 423  No match Line 395  No match
395          End          End
396  ------------------------------------------------------------------  ------------------------------------------------------------------
397  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
398  Options: utf8  Options: utf8
399  First char = 196  First char = 196
400  Need char = 128  Need char = 128
401  Study returned NULL  Subject length lower bound = 3
402    No set of starting bytes
403    \x{100}\x{100}\x{100}\x{100\x{100}    \x{100}\x{100}\x{100}\x{100\x{100}
404   0: \x{100}\x{100}\x{100}   0: \x{100}\x{100}\x{100}
405    
# Line 443  Study returned NULL Line 415  Study returned NULL
415          End          End
416  ------------------------------------------------------------------  ------------------------------------------------------------------
417  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
418  Options: utf8  Options: utf8
419  No first char  No first char
420  No need char  No need char
421    Subject length lower bound = 1
422  Starting byte set: x \xc4  Starting byte set: x \xc4
423    
424  /(\x{100}*a|x)/8SDZ  /(\x{100}*a|x)/8SDZ
# Line 462  Starting byte set: x \xc4 Line 434  Starting byte set: x \xc4
434          End          End
435  ------------------------------------------------------------------  ------------------------------------------------------------------
436  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
437  Options: utf8  Options: utf8
438  No first char  No first char
439  No need char  No need char
440    Subject length lower bound = 1
441  Starting byte set: a x \xc4  Starting byte set: a x \xc4
442    
443  /(\x{100}{0,2}a|x)/8SDZ  /(\x{100}{0,2}a|x)/8SDZ
# Line 481  Starting byte set: a x \xc4 Line 453  Starting byte set: a x \xc4
453          End          End
454  ------------------------------------------------------------------  ------------------------------------------------------------------
455  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
456  Options: utf8  Options: utf8
457  No first char  No first char
458  No need char  No need char
459    Subject length lower bound = 1
460  Starting byte set: a x \xc4  Starting byte set: a x \xc4
461    
462  /(\x{100}{1,2}a|x)/8SDZ  /(\x{100}{1,2}a|x)/8SDZ
# Line 501  Starting byte set: a x \xc4 Line 473  Starting byte set: a x \xc4
473          End          End
474  ------------------------------------------------------------------  ------------------------------------------------------------------
475  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
476  Options: utf8  Options: utf8
477  No first char  No first char
478  No need char  No need char
479    Subject length lower bound = 1
480  Starting byte set: x \xc4  Starting byte set: x \xc4
481    
482  /\x{100}*(\d+|"(?1)")/8  /\x{100}*(\d+|"(?1)")/8
# Line 551  Need char = 128 Line 523  Need char = 128
523          End          End
524  ------------------------------------------------------------------  ------------------------------------------------------------------
525  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
526  Options: utf8  Options: utf8
527  No first char  No first char
528  No need char  No need char
# Line 565  No need char Line 536  No need char
536          End          End
537  ------------------------------------------------------------------  ------------------------------------------------------------------
538  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
539  Options: utf8  Options: utf8
540  First char = 'a'  First char = 'a'
541  No need char  No need char
# Line 579  No need char Line 549  No need char
549          End          End
550  ------------------------------------------------------------------  ------------------------------------------------------------------
551  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
552  Options: utf8  Options: utf8
553  First char = 'a'  First char = 'a'
554  Need char = 'b'  Need char = 'b'
# Line 593  Need char = 'b' Line 562  Need char = 'b'
562          End          End
563  ------------------------------------------------------------------  ------------------------------------------------------------------
564  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
565  Options: utf8  Options: utf8
566  First char = 'a'  First char = 'a'
567  Need char = 128  Need char = 128
# Line 607  Need char = 128 Line 575  Need char = 128
575          End          End
576  ------------------------------------------------------------------  ------------------------------------------------------------------
577  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
578  Options: utf8  Options: utf8
579  First char = 'a'  First char = 'a'
580  Need char = 129  Need char = 129
# Line 621  Need char = 129 Line 588  Need char = 129
588          End          End
589  ------------------------------------------------------------------  ------------------------------------------------------------------
590  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
591  Options: utf8  Options: utf8
592  No first char  No first char
593  Need char = 'A'  Need char = 'A'
# Line 633  Need char = 'A' Line 599  Need char = 'A'
599          Bra          Bra
600          \x{100}*+          \x{100}*+
601          \d          \d
         Once  
602          Recurse          Recurse
603          Ket          Ket
         Ket  
604          End          End
605  ------------------------------------------------------------------  ------------------------------------------------------------------
606  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
607  Options: utf8  Options: utf8
608  No first char  No first char
609  No need char  No need char
# Line 829  No need char Line 792  No need char
792   0: \x{d6}   0: \x{d6}
793    
794  /[]/8  /[]/8
795  Failed: invalid UTF-8 string at offset 2  Failed: invalid UTF-8 string at offset 1
796    
797  //8  //8
798  Failed: invalid UTF-8 string at offset 0  Failed: invalid UTF-8 string at offset 0
799    
800  /xxx/8  /xxx/8
801  Failed: invalid UTF-8 string at offset 1  Failed: invalid UTF-8 string at offset 0
802    
803  /xxx/8?DZ  /xxx/8?DZSS
804  ------------------------------------------------------------------  ------------------------------------------------------------------
805          Bra          Bra
806          \X{c0}\X{c0}\X{c0}xxx          \X{c0}\X{c0}\X{c0}xxx
# Line 851  Need char = 'x' Line 814  Need char = 'x'
814    
815  /abc/8  /abc/8
816      ]      ]
817  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=6
818            
819  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=1
820            
821  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=6
822      \?      \?
823  No match  No match
824        \xe1\x88
825    Error -10 (bad UTF-8 string) offset=0 reason=1
826        \P\xe1\x88
827    Error -10 (bad UTF-8 string) offset=0 reason=1
828        \P\P\xe1\x88
829    Error -25 (short UTF-8 string) offset=0 reason=1
830        XX\xea
831    Error -10 (bad UTF-8 string) offset=2 reason=2
832        \O0XX\xea
833    Error -10 (bad UTF-8 string)
834        \O1XX\xea
835    Error -10 (bad UTF-8 string)
836        \O2XX\xea
837    Error -10 (bad UTF-8 string) offset=2 reason=2
838        XX\xf1
839    Error -10 (bad UTF-8 string) offset=2 reason=3
840        XX\xf8
841    Error -10 (bad UTF-8 string) offset=2 reason=4
842        XX\xfc
843    Error -10 (bad UTF-8 string) offset=2 reason=5
844        ZZ\xea\xaf\x20YY
845    Error -10 (bad UTF-8 string) offset=2 reason=7
846        ZZ\xfd\xbf\xbf\x2f\xbf\xbfYY
847    Error -10 (bad UTF-8 string) offset=2 reason=8
848        ZZ\xfd\xbf\xbf\xbf\x2f\xbfYY
849    Error -10 (bad UTF-8 string) offset=2 reason=9
850        ZZ\xfd\xbf\xbf\xbf\xbf\x2fYY
851    Error -10 (bad UTF-8 string) offset=2 reason=10
852        ZZ\xffYY
853    Error -10 (bad UTF-8 string) offset=2 reason=21
854        ZZ\xfeYY
855    Error -10 (bad UTF-8 string) offset=2 reason=21
856    
857  /anything/8  /anything/8
858      \xc0\x80      \xc0\x80
859  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=15
860      \xc1\x8f      \xc1\x8f
861  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=15
862      \xe0\x9f\x80      \xe0\x9f\x80
863  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=16
864      \xf0\x8f\x80\x80      \xf0\x8f\x80\x80
865  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=17
866      \xf8\x87\x80\x80\x80      \xf8\x87\x80\x80\x80
867  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=18
868      \xfc\x83\x80\x80\x80\x80      \xfc\x83\x80\x80\x80\x80
869  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=19
870      \xfe\x80\x80\x80\x80\x80      \xfe\x80\x80\x80\x80\x80
871  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=21
872      \xff\x80\x80\x80\x80\x80      \xff\x80\x80\x80\x80\x80
873  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=21
874      \xc3\x8f      \xc3\x8f
875  No match  No match
876      \xe0\xaf\x80      \xe0\xaf\x80
# Line 887  No match Line 882  No match
882      \xf1\x8f\x80\x80      \xf1\x8f\x80\x80
883  No match  No match
884      \xf8\x88\x80\x80\x80      \xf8\x88\x80\x80\x80
885  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=11
886      \xf9\x87\x80\x80\x80      \xf9\x87\x80\x80\x80
887  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=11
888      \xfc\x84\x80\x80\x80\x80      \xfc\x84\x80\x80\x80\x80
889  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=12
890      \xfd\x83\x80\x80\x80\x80      \xfd\x83\x80\x80\x80\x80
891  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=12
892      \?\xf8\x88\x80\x80\x80      \?\xf8\x88\x80\x80\x80
893  No match  No match
894      \?\xf9\x87\x80\x80\x80      \?\xf9\x87\x80\x80\x80
# Line 909  No match Line 904  No match
904          \x{100}abc          \x{100}abc
905          CBra 1          CBra 1
906          xyz          xyz
         Once  
907          Recurse          Recurse
908          Ket          Ket
909          Ket          Ket
         Ket  
910          End          End
911  ------------------------------------------------------------------  ------------------------------------------------------------------
912  Capturing subpattern count = 1  Capturing subpattern count = 1
# Line 928  Need char = 'z' Line 921  Need char = 'z'
921          abc          abc
922          CBra 1          CBra 1
923          xyz          xyz
         Once  
924          Recurse          Recurse
925          Ket          Ket
926          Ket          Ket
         Ket  
927          End          End
928  ------------------------------------------------------------------  ------------------------------------------------------------------
929  Capturing subpattern count = 1  Capturing subpattern count = 1
# Line 947  Need char = 'z' Line 938  Need char = 'z'
938          abc          abc
939          CBra 1          CBra 1
940          xyz          xyz
         Once  
941          Recurse          Recurse
942          Ket          Ket
943          Ket          Ket
         Ket  
944          End          End
945  ------------------------------------------------------------------  ------------------------------------------------------------------
946  Capturing subpattern count = 1  Capturing subpattern count = 1
# Line 967  Need char = 'z' Line 956  Need char = 'z'
956          \x{100}          \x{100}
957          CBra 2          CBra 2
958          b          b
         Once  
959          Recurse          Recurse
         Ket  
960          c          c
961          Ket          Ket
962          Ket          Ket
# Line 990  No need char Line 977  No need char
977          \x{100}          \x{100}
978          CBra 2          CBra 2
979          b          b
         Once  
980          Recurse          Recurse
         Ket  
981          c          c
982          Ket          Ket
983          Ket          Ket
# Line 1001  No need char Line 986  No need char
986          \x{100}          \x{100}
987          CBra 2          CBra 2
988          b          b
         Once  
989          Recurse          Recurse
         Ket  
990          c          c
991          Ket          Ket
992          Ket          Ket
# Line 1024  No need char Line 1007  No need char
1007          \x{100}          \x{100}
1008          CBra 2          CBra 2
1009          b          b
         Once  
1010          Recurse          Recurse
         Ket  
1011          c          c
1012          Ket          Ket
1013          Ket          Ket
# Line 1047  No need char Line 1028  No need char
1028          \x{100}          \x{100}
1029          CBra 2          CBra 2
1030          b          b
         Once  
1031          Recurse          Recurse
         Ket  
1032          c          c
1033          Ket          Ket
1034          Ket          Ket
# Line 1058  No need char Line 1037  No need char
1037          \x{100}          \x{100}
1038          CBra 2          CBra 2
1039          b          b
         Once  
1040          Recurse          Recurse
         Ket  
1041          c          c
1042          Ket          Ket
1043          Ket          Ket
# Line 1122  Need char = 191 Line 1099  Need char = 191
1099          End          End
1100  ------------------------------------------------------------------  ------------------------------------------------------------------
1101  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1102  Options: utf8  Options: utf8
1103  No first char  No first char
1104  No need char  No need char
# Line 1136  No need char Line 1112  No need char
1112          End          End
1113  ------------------------------------------------------------------  ------------------------------------------------------------------
1114  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1115  Options: utf8  Options: utf8
1116  No first char  No first char
1117  No need char  No need char
# Line 1150  No need char Line 1125  No need char
1125          End          End
1126  ------------------------------------------------------------------  ------------------------------------------------------------------
1127  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1128  Options: utf8  Options: utf8
1129  No first char  No first char
1130  No need char  No need char
# Line 1164  No need char Line 1138  No need char
1138          End          End
1139  ------------------------------------------------------------------  ------------------------------------------------------------------
1140  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1141  Options: utf8  Options: utf8
1142  No first char  No first char
1143  No need char  No need char
# Line 1178  No need char Line 1151  No need char
1151          End          End
1152  ------------------------------------------------------------------  ------------------------------------------------------------------
1153  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1154  Options: utf8  Options: utf8
1155  No first char  No first char
1156  No need char  No need char
# Line 1192  No need char Line 1164  No need char
1164          End          End
1165  ------------------------------------------------------------------  ------------------------------------------------------------------
1166  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1167  Options: utf8  Options: utf8
1168  No first char  No first char
1169  No need char  No need char
# Line 1206  No need char Line 1177  No need char
1177          End          End
1178  ------------------------------------------------------------------  ------------------------------------------------------------------
1179  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1180  Options: utf8  Options: utf8
1181  First char = 196  First char = 196
1182  Need char = 128  Need char = 128
# Line 1220  Need char = 128 Line 1190  Need char = 128
1190          End          End
1191  ------------------------------------------------------------------  ------------------------------------------------------------------
1192  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1193  Options: utf8  Options: utf8
1194  First char = 196  First char = 196
1195  Need char = 'X'  Need char = 'X'
# Line 1234  Need char = 'X' Line 1203  Need char = 'X'
1203          End          End
1204  ------------------------------------------------------------------  ------------------------------------------------------------------
1205  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1206  Options: utf8  Options: utf8
1207  First char = 'X'  First char = 'X'
1208  Need char = 128  Need char = 128
# Line 1491  No match Line 1459  No match
1459      \x{0}\x{d7ff}\x{e000}\x{10ffff}      \x{0}\x{d7ff}\x{e000}\x{10ffff}
1460  No match  No match
1461      \x{d800}      \x{d800}
1462  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=14
1463      \x{d800}\?      \x{d800}\?
1464  No match  No match
1465      \x{da00}      \x{da00}
1466  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=14
1467      \x{da00}\?      \x{da00}\?
1468  No match  No match
1469      \x{dfff}      \x{dfff}
1470  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=14
1471      \x{dfff}\?      \x{dfff}\?
1472  No match  No match
1473      \x{110000}      \x{110000}
1474  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=13
1475      \x{110000}\?      \x{110000}\?
1476  No match  No match
1477      \x{2000000}      \x{2000000}
1478  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=11
1479      \x{2000000}\?      \x{2000000}\?
1480  No match  No match
1481      \x{7fffffff}      \x{7fffffff}
1482  Error -10  Error -10 (bad UTF-8 string) offset=0 reason=12
1483      \x{7fffffff}\?      \x{7fffffff}\?
1484  No match  No match
1485    
# Line 1608  No match Line 1576  No match
1576  /[[:a\x{100}b:]]/8  /[[:a\x{100}b:]]/8
1577  Failed: unknown POSIX class name at offset 3  Failed: unknown POSIX class name at offset 3
1578    
1579  / End of testinput5 /  /a[^]b/<JS>8
1580        a\x{1234}b
1581     0: a\x{1234}b
1582        a\nb
1583     0: a\x{0a}b
1584        ** Failers
1585    No match
1586        ab
1587    No match
1588    
1589    /a[^]+b/<JS>8
1590        aXb
1591     0: aXb
1592        a\nX\nX\x{1234}b
1593     0: a\x{0a}X\x{0a}X\x{1234}b
1594        ** Failers
1595    No match
1596        ab
1597    No match
1598    
1599    /(\x{de})\1/
1600        \x{de}\x{de}
1601     0: \xde\xde
1602     1: \xde
1603        \x{123}
1604    ** Character \x{123} is greater than 255 and UTF-8 mode is not enabled.
1605    ** Truncation will probably give the wrong result.
1606    No match
1607    
1608    /X/8f<any>
1609        A\x{1ec5}ABCXYZ
1610     0: X
1611    
1612    /(*UTF8)\x{1234}/
1613      abcd\x{1234}pqr
1614     0: \x{1234}
1615    
1616    /(*CRLF)(*UTF8)(*BSR_UNICODE)a\Rb/I
1617    Capturing subpattern count = 0
1618    Options: bsr_unicode utf8
1619    Forced newline sequence: CRLF
1620    First char = 'a'
1621    Need char = 'b'
1622    
1623    /Xa{2,4}b/8
1624        X\P
1625    Partial match: X
1626        Xa\P
1627    Partial match: Xa
1628        Xaa\P
1629    Partial match: Xaa
1630        Xaaa\P
1631    Partial match: Xaaa
1632        Xaaaa\P
1633    Partial match: Xaaaa
1634    
1635    /Xa{2,4}?b/8
1636        X\P
1637    Partial match: X
1638        Xa\P
1639    Partial match: Xa
1640        Xaa\P
1641    Partial match: Xaa
1642        Xaaa\P
1643    Partial match: Xaaa
1644        Xaaaa\P
1645    Partial match: Xaaaa
1646    
1647    /Xa{2,4}+b/8
1648        X\P
1649    Partial match: X
1650        Xa\P
1651    Partial match: Xa
1652        Xaa\P
1653    Partial match: Xaa
1654        Xaaa\P
1655    Partial match: Xaaa
1656        Xaaaa\P
1657    Partial match: Xaaaa
1658    
1659    /X\x{123}{2,4}b/8
1660        X\P
1661    Partial match: X
1662        X\x{123}\P
1663    Partial match: X\x{123}
1664        X\x{123}\x{123}\P
1665    Partial match: X\x{123}\x{123}
1666        X\x{123}\x{123}\x{123}\P
1667    Partial match: X\x{123}\x{123}\x{123}
1668        X\x{123}\x{123}\x{123}\x{123}\P
1669    Partial match: X\x{123}\x{123}\x{123}\x{123}
1670    
1671    /X\x{123}{2,4}?b/8
1672        X\P
1673    Partial match: X
1674        X\x{123}\P
1675    Partial match: X\x{123}
1676        X\x{123}\x{123}\P
1677    Partial match: X\x{123}\x{123}
1678        X\x{123}\x{123}\x{123}\P
1679    Partial match: X\x{123}\x{123}\x{123}
1680        X\x{123}\x{123}\x{123}\x{123}\P
1681    Partial match: X\x{123}\x{123}\x{123}\x{123}
1682    
1683    /X\x{123}{2,4}+b/8
1684        X\P
1685    Partial match: X
1686        X\x{123}\P
1687    Partial match: X\x{123}
1688        X\x{123}\x{123}\P
1689    Partial match: X\x{123}\x{123}
1690        X\x{123}\x{123}\x{123}\P
1691    Partial match: X\x{123}\x{123}\x{123}
1692        X\x{123}\x{123}\x{123}\x{123}\P
1693    Partial match: X\x{123}\x{123}\x{123}\x{123}
1694    
1695    /X\x{123}{2,4}b/8
1696        Xx\P
1697    No match
1698        X\x{123}x\P
1699    No match
1700        X\x{123}\x{123}x\P
1701    No match
1702        X\x{123}\x{123}\x{123}x\P
1703    No match
1704        X\x{123}\x{123}\x{123}\x{123}x\P
1705    No match
1706    
1707    /X\x{123}{2,4}?b/8
1708        Xx\P
1709    No match
1710        X\x{123}x\P
1711    No match
1712        X\x{123}\x{123}x\P
1713    No match
1714        X\x{123}\x{123}\x{123}x\P
1715    No match
1716        X\x{123}\x{123}\x{123}\x{123}x\P
1717    No match
1718    
1719    /X\x{123}{2,4}+b/8
1720        Xx\P
1721    No match
1722        X\x{123}x\P
1723    No match
1724        X\x{123}\x{123}x\P
1725    No match
1726        X\x{123}\x{123}\x{123}x\P
1727    No match
1728        X\x{123}\x{123}\x{123}\x{123}x\P
1729    No match
1730    
1731    /X\d{2,4}b/8
1732        X\P
1733    Partial match: X
1734        X3\P
1735    Partial match: X3
1736        X33\P
1737    Partial match: X33
1738        X333\P
1739    Partial match: X333
1740        X3333\P
1741    Partial match: X3333
1742    
1743    /X\d{2,4}?b/8
1744        X\P
1745    Partial match: X
1746        X3\P
1747    Partial match: X3
1748        X33\P
1749    Partial match: X33
1750        X333\P
1751    Partial match: X333
1752        X3333\P
1753    Partial match: X3333
1754    
1755    /X\d{2,4}+b/8
1756        X\P
1757    Partial match: X
1758        X3\P
1759    Partial match: X3
1760        X33\P
1761    Partial match: X33
1762        X333\P
1763    Partial match: X333
1764        X3333\P
1765    Partial match: X3333
1766    
1767    /X\D{2,4}b/8
1768        X\P
1769    Partial match: X
1770        Xa\P
1771    Partial match: Xa
1772        Xaa\P
1773    Partial match: Xaa
1774        Xaaa\P
1775    Partial match: Xaaa
1776        Xaaaa\P
1777    Partial match: Xaaaa
1778    
1779    /X\D{2,4}?b/8
1780        X\P
1781    Partial match: X
1782        Xa\P
1783    Partial match: Xa
1784        Xaa\P
1785    Partial match: Xaa
1786        Xaaa\P
1787    Partial match: Xaaa
1788        Xaaaa\P
1789    Partial match: Xaaaa
1790    
1791    /X\D{2,4}+b/8
1792        X\P
1793    Partial match: X
1794        Xa\P
1795    Partial match: Xa
1796        Xaa\P
1797    Partial match: Xaa
1798        Xaaa\P
1799    Partial match: Xaaa
1800        Xaaaa\P
1801    Partial match: Xaaaa
1802    
1803    /X\D{2,4}b/8
1804        X\P
1805    Partial match: X
1806        X\x{123}\P
1807    Partial match: X\x{123}
1808        X\x{123}\x{123}\P
1809    Partial match: X\x{123}\x{123}
1810        X\x{123}\x{123}\x{123}\P
1811    Partial match: X\x{123}\x{123}\x{123}
1812        X\x{123}\x{123}\x{123}\x{123}\P
1813    Partial match: X\x{123}\x{123}\x{123}\x{123}
1814    
1815    /X\D{2,4}?b/8
1816        X\P
1817    Partial match: X
1818        X\x{123}\P
1819    Partial match: X\x{123}
1820        X\x{123}\x{123}\P
1821    Partial match: X\x{123}\x{123}
1822        X\x{123}\x{123}\x{123}\P
1823    Partial match: X\x{123}\x{123}\x{123}
1824        X\x{123}\x{123}\x{123}\x{123}\P
1825    Partial match: X\x{123}\x{123}\x{123}\x{123}
1826    
1827    /X\D{2,4}+b/8
1828        X\P
1829    Partial match: X
1830        X\x{123}\P
1831    Partial match: X\x{123}
1832        X\x{123}\x{123}\P
1833    Partial match: X\x{123}\x{123}
1834        X\x{123}\x{123}\x{123}\P
1835    Partial match: X\x{123}\x{123}\x{123}
1836        X\x{123}\x{123}\x{123}\x{123}\P
1837    Partial match: X\x{123}\x{123}\x{123}\x{123}
1838    
1839    /X[abc]{2,4}b/8
1840        X\P
1841    Partial match: X
1842        Xa\P
1843    Partial match: Xa
1844        Xaa\P
1845    Partial match: Xaa
1846        Xaaa\P
1847    Partial match: Xaaa
1848        Xaaaa\P
1849    Partial match: Xaaaa
1850    
1851    /X[abc]{2,4}?b/8
1852        X\P
1853    Partial match: X
1854        Xa\P
1855    Partial match: Xa
1856        Xaa\P
1857    Partial match: Xaa
1858        Xaaa\P
1859    Partial match: Xaaa
1860        Xaaaa\P
1861    Partial match: Xaaaa
1862    
1863    /X[abc]{2,4}+b/8
1864        X\P
1865    Partial match: X
1866        Xa\P
1867    Partial match: Xa
1868        Xaa\P
1869    Partial match: Xaa
1870        Xaaa\P
1871    Partial match: Xaaa
1872        Xaaaa\P
1873    Partial match: Xaaaa
1874    
1875    /X[abc\x{123}]{2,4}b/8
1876        X\P
1877    Partial match: X
1878        X\x{123}\P
1879    Partial match: X\x{123}
1880        X\x{123}\x{123}\P
1881    Partial match: X\x{123}\x{123}
1882        X\x{123}\x{123}\x{123}\P
1883    Partial match: X\x{123}\x{123}\x{123}
1884        X\x{123}\x{123}\x{123}\x{123}\P
1885    Partial match: X\x{123}\x{123}\x{123}\x{123}
1886    
1887    /X[abc\x{123}]{2,4}?b/8
1888        X\P
1889    Partial match: X
1890        X\x{123}\P
1891    Partial match: X\x{123}
1892        X\x{123}\x{123}\P
1893    Partial match: X\x{123}\x{123}
1894        X\x{123}\x{123}\x{123}\P
1895    Partial match: X\x{123}\x{123}\x{123}
1896        X\x{123}\x{123}\x{123}\x{123}\P
1897    Partial match: X\x{123}\x{123}\x{123}\x{123}
1898    
1899    /X[abc\x{123}]{2,4}+b/8
1900        X\P
1901    Partial match: X
1902        X\x{123}\P
1903    Partial match: X\x{123}
1904        X\x{123}\x{123}\P
1905    Partial match: X\x{123}\x{123}
1906        X\x{123}\x{123}\x{123}\P
1907    Partial match: X\x{123}\x{123}\x{123}
1908        X\x{123}\x{123}\x{123}\x{123}\P
1909    Partial match: X\x{123}\x{123}\x{123}\x{123}
1910    
1911    /X[^a]{2,4}b/8
1912        X\P
1913    Partial match: X
1914        Xz\P
1915    Partial match: Xz
1916        Xzz\P
1917    Partial match: Xzz
1918        Xzzz\P
1919    Partial match: Xzzz
1920        Xzzzz\P
1921    Partial match: Xzzzz
1922    
1923    /X[^a]{2,4}?b/8
1924        X\P
1925    Partial match: X
1926        Xz\P
1927    Partial match: Xz
1928        Xzz\P
1929    Partial match: Xzz
1930        Xzzz\P
1931    Partial match: Xzzz
1932        Xzzzz\P
1933    Partial match: Xzzzz
1934    
1935    /X[^a]{2,4}+b/8
1936        X\P
1937    Partial match: X
1938        Xz\P
1939    Partial match: Xz
1940        Xzz\P
1941    Partial match: Xzz
1942        Xzzz\P
1943    Partial match: Xzzz
1944        Xzzzz\P
1945    Partial match: Xzzzz
1946    
1947    /X[^a]{2,4}b/8
1948        X\P
1949    Partial match: X
1950        X\x{123}\P
1951    Partial match: X\x{123}
1952        X\x{123}\x{123}\P
1953    Partial match: X\x{123}\x{123}
1954        X\x{123}\x{123}\x{123}\P
1955    Partial match: X\x{123}\x{123}\x{123}
1956        X\x{123}\x{123}\x{123}\x{123}\P
1957    Partial match: X\x{123}\x{123}\x{123}\x{123}
1958    
1959    /X[^a]{2,4}?b/8
1960        X\P
1961    Partial match: X
1962        X\x{123}\P
1963    Partial match: X\x{123}
1964        X\x{123}\x{123}\P
1965    Partial match: X\x{123}\x{123}
1966        X\x{123}\x{123}\x{123}\P
1967    Partial match: X\x{123}\x{123}\x{123}
1968        X\x{123}\x{123}\x{123}\x{123}\P
1969    Partial match: X\x{123}\x{123}\x{123}\x{123}
1970    
1971    /X[^a]{2,4}+b/8
1972        X\P
1973    Partial match: X
1974        X\x{123}\P
1975    Partial match: X\x{123}
1976        X\x{123}\x{123}\P
1977    Partial match: X\x{123}\x{123}
1978        X\x{123}\x{123}\x{123}\P
1979    Partial match: X\x{123}\x{123}\x{123}
1980        X\x{123}\x{123}\x{123}\x{123}\P
1981    Partial match: X\x{123}\x{123}\x{123}\x{123}
1982    
1983    /(Y)X\1{2,4}b/8
1984        YX\P
1985    Partial match: YX
1986        YXY\P
1987    Partial match: YXY
1988        YXYY\P
1989    Partial match: YXYY
1990        YXYYY\P
1991    Partial match: YXYYY
1992        YXYYYY\P
1993    Partial match: YXYYYY
1994    
1995    /(Y)X\1{2,4}?b/8
1996        YX\P
1997    Partial match: YX
1998        YXY\P
1999    Partial match: YXY
2000        YXYY\P
2001    Partial match: YXYY
2002        YXYYY\P
2003    Partial match: YXYYY
2004        YXYYYY\P
2005    Partial match: YXYYYY
2006    
2007    /(Y)X\1{2,4}+b/8
2008        YX\P
2009    Partial match: YX
2010        YXY\P
2011    Partial match: YXY
2012        YXYY\P
2013    Partial match: YXYY
2014        YXYYY\P
2015    Partial match: YXYYY
2016        YXYYYY\P
2017    Partial match: YXYYYY
2018    
2019    /(\x{123})X\1{2,4}b/8
2020        \x{123}X\P
2021    Partial match: \x{123}X
2022        \x{123}X\x{123}\P
2023    Partial match: \x{123}X\x{123}
2024        \x{123}X\x{123}\x{123}\P
2025    Partial match: \x{123}X\x{123}\x{123}
2026        \x{123}X\x{123}\x{123}\x{123}\P
2027    Partial match: \x{123}X\x{123}\x{123}\x{123}
2028        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
2029    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
2030    
2031    /(\x{123})X\1{2,4}?b/8
2032        \x{123}X\P
2033    Partial match: \x{123}X
2034        \x{123}X\x{123}\P
2035    Partial match: \x{123}X\x{123}
2036        \x{123}X\x{123}\x{123}\P
2037    Partial match: \x{123}X\x{123}\x{123}
2038        \x{123}X\x{123}\x{123}\x{123}\P
2039    Partial match: \x{123}X\x{123}\x{123}\x{123}
2040        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
2041    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
2042    
2043    /(\x{123})X\1{2,4}+b/8
2044        \x{123}X\P
2045    Partial match: \x{123}X
2046        \x{123}X\x{123}\P
2047    Partial match: \x{123}X\x{123}
2048        \x{123}X\x{123}\x{123}\P
2049    Partial match: \x{123}X\x{123}\x{123}
2050        \x{123}X\x{123}\x{123}\x{123}\P
2051    Partial match: \x{123}X\x{123}\x{123}\x{123}
2052        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
2053    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
2054    
2055    /\bthe cat\b/8
2056        the cat\P
2057     0: the cat
2058        the cat\P\P
2059    Partial match: the cat
2060    
2061    /abcd*/8
2062        xxxxabcd\P
2063     0: abcd
2064        xxxxabcd\P\P
2065    Partial match: abcd
2066    
2067    /abcd*/i8
2068        xxxxabcd\P
2069     0: abcd
2070        xxxxabcd\P\P
2071    Partial match: abcd
2072        XXXXABCD\P
2073     0: ABCD
2074        XXXXABCD\P\P
2075    Partial match: ABCD
2076    
2077    /abc\d*/8
2078        xxxxabc1\P
2079     0: abc1
2080        xxxxabc1\P\P
2081    Partial match: abc1
2082    
2083    /(a)bc\1*/8
2084        xxxxabca\P
2085     0: abca
2086     1: a
2087        xxxxabca\P\P
2088    Partial match: abca
2089    
2090    /abc[de]*/8
2091        xxxxabcde\P
2092     0: abcde
2093        xxxxabcde\P\P
2094    Partial match: abcde
2095    
2096    /X\W{3}X/8
2097        \PX
2098    Partial match: X
2099    
2100    /\h/SI
2101    Capturing subpattern count = 0
2102    No options
2103    No first char
2104    No need char
2105    Subject length lower bound = 1
2106    Starting byte set: \x09 \x20 \xa0
2107    
2108    /\h/SI8
2109    Capturing subpattern count = 0
2110    Options: utf8
2111    No first char
2112    No need char
2113    Subject length lower bound = 1
2114    Starting byte set: \x09 \x20 \xc2 \xe1 \xe2 \xe3
2115        ABC\x{09}
2116     0: \x{09}
2117        ABC\x{20}
2118     0:
2119        ABC\x{a0}
2120     0: \x{a0}
2121        ABC\x{1680}
2122     0: \x{1680}
2123        ABC\x{180e}
2124     0: \x{180e}
2125        ABC\x{2000}
2126     0: \x{2000}
2127        ABC\x{202f}
2128     0: \x{202f}
2129        ABC\x{205f}
2130     0: \x{205f}
2131        ABC\x{3000}
2132     0: \x{3000}
2133    
2134    /\v/SI
2135    Capturing subpattern count = 0
2136    No options
2137    No first char
2138    No need char
2139    Subject length lower bound = 1
2140    Starting byte set: \x0a \x0b \x0c \x0d \x85
2141    
2142    /\v/SI8
2143    Capturing subpattern count = 0
2144    Options: utf8
2145    No first char
2146    No need char
2147    Subject length lower bound = 1
2148    Starting byte set: \x0a \x0b \x0c \x0d \xc2 \xe2
2149        ABC\x{0a}
2150     0: \x{0a}
2151        ABC\x{0b}
2152     0: \x{0b}
2153        ABC\x{0c}
2154     0: \x{0c}
2155        ABC\x{0d}
2156     0: \x{0d}
2157        ABC\x{85}
2158     0: \x{85}
2159        ABC\x{2028}
2160     0: \x{2028}
2161    
2162    /\R/SI
2163    Capturing subpattern count = 0
2164    No options
2165    No first char
2166    No need char
2167    Subject length lower bound = 1
2168    Starting byte set: \x0a \x0b \x0c \x0d \x85
2169    
2170    /\R/SI8
2171    Capturing subpattern count = 0
2172    Options: utf8
2173    No first char
2174    No need char
2175    Subject length lower bound = 1
2176    Starting byte set: \x0a \x0b \x0c \x0d \xc2 \xe2
2177    
2178    /\h*A/SI8
2179    Capturing subpattern count = 0
2180    Options: utf8
2181    No first char
2182    Need char = 'A'
2183    Subject length lower bound = 1
2184    Starting byte set: \x09 \x20 A \xc2 \xe1 \xe2 \xe3
2185        CDBABC
2186     0: A
2187    
2188    /\v+A/SI8
2189    Capturing subpattern count = 0
2190    Options: utf8
2191    No first char
2192    Need char = 'A'
2193    Subject length lower bound = 2
2194    Starting byte set: \x0a \x0b \x0c \x0d \xc2 \xe2
2195    
2196    /\s?xxx\s/8SI
2197    Capturing subpattern count = 0
2198    Options: utf8
2199    No first char
2200    Need char = 'x'
2201    Subject length lower bound = 4
2202    Starting byte set: \x09 \x0a \x0c \x0d \x20 x
2203    
2204    /\sxxx\s/8T1
2205        AB\x{85}xxx\x{a0}XYZ
2206     0: \x{85}xxx\x{a0}
2207        AB\x{a0}xxx\x{85}XYZ
2208     0: \x{a0}xxx\x{85}
2209    
2210    /\sxxx\s/I8ST1
2211    Capturing subpattern count = 0
2212    Options: utf8
2213    No first char
2214    Need char = 'x'
2215    Subject length lower bound = 5
2216    Starting byte set: \x09 \x0a \x0c \x0d \x20 \xc2
2217        AB\x{85}xxx\x{a0}XYZ
2218     0: \x{85}xxx\x{a0}
2219        AB\x{a0}xxx\x{85}XYZ
2220     0: \x{a0}xxx\x{85}
2221    
2222    /\S \S/8T1
2223        \x{a2} \x{84}
2224     0: \x{a2} \x{84}
2225    
2226    /\S \S/I8ST1
2227    Capturing subpattern count = 0
2228    Options: utf8
2229    No first char
2230    Need char = ' '
2231    Subject length lower bound = 3
2232    Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0b \x0e
2233      \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a \x1b \x1c \x1d
2234      \x1e \x1f ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @
2235      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 Z [ \ ] ^ _ ` a b c d e
2236      f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f \xc0 \xc1 \xc2 \xc3
2237      \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2
2238      \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1
2239      \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef \xf0
2240      \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff
2241        \x{a2} \x{84}
2242     0: \x{a2} \x{84}
2243        A Z
2244     0: A Z
2245    
2246    'A#хц'8x<any>BZ
2247    ------------------------------------------------------------------
2248            Bra
2249            A
2250            Ket
2251            End
2252    ------------------------------------------------------------------
2253    
2254    'A#хц
2255      PQ'8x<any>BZ
2256    ------------------------------------------------------------------
2257            Bra
2258            APQ
2259            Ket
2260            End
2261    ------------------------------------------------------------------
2262    
2263    /a+#хaa
2264      z#XX?/8x<any>BZ
2265    ------------------------------------------------------------------
2266            Bra
2267            a++
2268            z
2269            Ket
2270            End
2271    ------------------------------------------------------------------
2272    
2273    /a+#хaa
2274      z#х?/8x<any>BZ
2275    ------------------------------------------------------------------
2276            Bra
2277            a++
2278            z
2279            Ket
2280            End
2281    ------------------------------------------------------------------
2282    
2283    /\g{A}xxx#bXX(?'A'123) (?'A'456)/8x<any>BZ
2284    ------------------------------------------------------------------
2285            Bra
2286            \1
2287            xxx
2288            CBra 1
2289            456
2290            Ket
2291            Ket
2292            End
2293    ------------------------------------------------------------------
2294    
2295    /\g{A}xxx#bх(?'A'123) (?'A'456)/8x<any>BZ
2296    ------------------------------------------------------------------
2297            Bra
2298            \1
2299            xxx
2300            CBra 1
2301            456
2302            Ket
2303            Ket
2304            End
2305    ------------------------------------------------------------------
2306    
2307    /a+/8
2308        a\x{123}aa\>1
2309     0: aa
2310        a\x{123}aa\>2
2311    Error -11 (bad UTF-8 offset)
2312        a\x{123}aa\>3
2313     0: aa
2314        a\x{123}aa\>4
2315     0: a
2316        a\x{123}aa\>5
2317    No match
2318        a\x{123}aa\>6
2319    Error -24 (bad offset value)
2320    
2321    /^\cģ/8
2322    Failed: \c must be followed by an ASCII character at offset 3
2323    
2324    /(\R*)(.)/s8
2325        \r\n
2326     0: \x{0d}
2327     1:
2328     2: \x{0d}
2329        \r\r\n\n\r
2330     0: \x{0d}\x{0d}\x{0a}\x{0a}\x{0d}
2331     1: \x{0d}\x{0d}\x{0a}\x{0a}
2332     2: \x{0d}
2333        \r\r\n\n\r\n
2334     0: \x{0d}\x{0d}\x{0a}\x{0a}\x{0d}
2335     1: \x{0d}\x{0d}\x{0a}\x{0a}
2336     2: \x{0d}
2337    
2338    /(\R)*(.)/s8
2339        \r\n
2340     0: \x{0d}
2341     1: <unset>
2342     2: \x{0d}
2343        \r\r\n\n\r
2344     0: \x{0d}\x{0d}\x{0a}\x{0a}\x{0d}
2345     1: \x{0a}
2346     2: \x{0d}
2347        \r\r\n\n\r\n
2348     0: \x{0d}\x{0d}\x{0a}\x{0a}\x{0d}
2349     1: \x{0a}
2350     2: \x{0d}
2351    
2352    /\x{1234}+/iS8I
2353    Capturing subpattern count = 0
2354    Options: caseless utf8
2355    No first char
2356    No need char
2357    Subject length lower bound = 1
2358    Starting byte set: \xe1
2359    
2360    /\x{1234}+?/iS8I
2361    Capturing subpattern count = 0
2362    Options: caseless utf8
2363    No first char
2364    No need char
2365    Subject length lower bound = 1
2366    Starting byte set: \xe1
2367    
2368    /\x{1234}++/iS8I
2369    Capturing subpattern count = 0
2370    Options: caseless utf8
2371    No first char
2372    No need char
2373    Subject length lower bound = 1
2374    Starting byte set: \xe1
2375    
2376    /\x{1234}{2}/iS8I
2377    Capturing subpattern count = 0
2378    Options: caseless utf8
2379    No first char
2380    No need char
2381    Subject length lower bound = 2
2382    Starting byte set: \xe1
2383    
2384    /[^\x{1234}]+/iS8I
2385    Capturing subpattern count = 0
2386    Options: caseless utf8
2387    No first char
2388    No need char
2389    Subject length lower bound = 1
2390    No set of starting bytes
2391    
2392    /[^\x{1234}]+?/iS8I
2393    Capturing subpattern count = 0
2394    Options: caseless utf8
2395    No first char
2396    No need char
2397    Subject length lower bound = 1
2398    No set of starting bytes
2399    
2400    /[^\x{1234}]++/iS8I
2401    Capturing subpattern count = 0
2402    Options: caseless utf8
2403    No first char
2404    No need char
2405    Subject length lower bound = 1
2406    No set of starting bytes
2407    
2408    /[^\x{1234}]{2}/iS8I
2409    Capturing subpattern count = 0
2410    Options: caseless utf8
2411    No first char
2412    No need char
2413    Subject length lower bound = 2
2414    No set of starting bytes
2415    
2416    //<bsr_anycrlf><bsr_unicode>
2417    Failed: inconsistent NEWLINE options at offset 0
2418    
2419    /f.*/
2420        \P\Pfor
2421    Partial match: for
2422    
2423    /f.*/s
2424        \P\Pfor
2425    Partial match: for
2426    
2427    /f.*/8
2428        \P\Pfor
2429    Partial match: for
2430    
2431    /f.*/8s
2432        \P\Pfor
2433    Partial match: for
2434    
2435    /-- End of testinput5 --/

Legend:
Removed from v.295  
changed lines
  Added in v.652

  ViewVC Help
Powered by ViewVC 1.1.5