1 /-- Tests for reloading pre-compile patterns with UTF-16 or UTF-32 support. */ 2 3 %-- Generated from: 4 /(?P<cbra1>[aZ\x{400}-\x{10ffff}]{4,} 5 [\x{f123}\x{10039}\x{20000}-\x{21234}]?| 6 [A-Cx-z\x{100000}-\x{1000a7}\x{101234}]) 7 (?<cb2>[^az])/x 8 9 In 16-bit mode with options: S8>testdata/saved16LE-2 10 FS8>testdata/saved16BE-2 11 In 32-bit mode with options: S8>testdata/saved32LE-2 12 FS8>testdata/saved32BE-2 13 --%8x 14 15 <!testsaved16LE-2 16 Compiled pattern loaded from testsaved16LE-2 17 Study data loaded from testsaved16LE-2 18 ------------------------------------------------------------------ 19 0 101 Bra 20 2 45 CBra 1 21 5 [Za\x{400}-\x{10ffff}]{4,} 22 32 [\x{f123}\x{10039}\x{20000}-\x{21234}]? 23 47 30 Alt 24 49 [A-Cx-z\x{100000}-\x{1000a7}\x{101234}] 25 77 75 Ket 26 79 20 CBra 2 27 82 [\x00-`b-y{-\xff] (neg) 28 99 20 Ket 29 101 101 Ket 30 103 End 31 ------------------------------------------------------------------ 32 Capturing subpattern count = 2 33 Named capturing subpatterns: 34 cb2 2 35 cbra1 1 36 Options: extended utf 37 No first char 38 No need char 39 Subject length lower bound = 2 40 No starting char list 41 42 <!testsaved16BE-2 43 Compiled pattern loaded from testsaved16BE-2 44 Study data loaded from testsaved16BE-2 45 ------------------------------------------------------------------ 46 0 101 Bra 47 2 45 CBra 1 48 5 [Za\x{400}-\x{10ffff}]{4,} 49 32 [\x{f123}\x{10039}\x{20000}-\x{21234}]? 50 47 30 Alt 51 49 [A-Cx-z\x{100000}-\x{1000a7}\x{101234}] 52 77 75 Ket 53 79 20 CBra 2 54 82 [\x00-`b-y{-\xff] (neg) 55 99 20 Ket 56 101 101 Ket 57 103 End 58 ------------------------------------------------------------------ 59 Capturing subpattern count = 2 60 Named capturing subpatterns: 61 cb2 2 62 cbra1 1 63 Options: extended utf 64 No first char 65 No need char 66 Subject length lower bound = 2 67 No starting char list 68 69 <!testsaved32LE-2 70 Compiled pattern loaded from testsaved32LE-2 71 Study data loaded from testsaved32LE-2 72 Error -28 from pcre16_fullinfo(0) 73 Running in 16-bit mode but pattern was compiled in 32-bit mode 74 75 <!testsaved32BE-2 76 Compiled pattern loaded from testsaved32BE-2 77 Study data loaded from testsaved32BE-2 78 Error -28 from pcre16_fullinfo(0) 79 Running in 16-bit mode but pattern was compiled in 32-bit mode 80 81 /-- End of testinput22 --/ 82