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 Error -28 from pcre32_fullinfo(0) 19 Running in 32-bit mode but pattern was compiled in 16-bit mode 20 21 <!testsaved16BE-2 22 Compiled pattern loaded from testsaved16BE-2 23 Study data loaded from testsaved16BE-2 24 Error -28 from pcre32_fullinfo(0) 25 Running in 32-bit mode but pattern was compiled in 16-bit mode 26 27 <!testsaved32LE-2 28 Compiled pattern loaded from testsaved32LE-2 29 Study data loaded from testsaved32LE-2 30 ------------------------------------------------------------------ 31 0 70 Bra 32 2 33 CBra 1 33 5 [Za\x{400}-\x{10ffff}]{4,} 34 23 [\x{f123}\x{10039}\x{20000}-\x{21234}]? 35 35 19 Alt 36 37 [A-Cx-z\x{100000}-\x{1000a7}\x{101234}] 37 54 52 Ket 38 56 12 CBra 2 39 59 [\x00-`b-y{-\xff] (neg) 40 68 12 Ket 41 70 70 Ket 42 72 End 43 ------------------------------------------------------------------ 44 Capturing subpattern count = 2 45 Named capturing subpatterns: 46 cb2 2 47 cbra1 1 48 Options: extended utf 49 No first char 50 No need char 51 Subject length lower bound = 2 52 No starting char list 53 54 <!testsaved32BE-2 55 Compiled pattern loaded from testsaved32BE-2 56 Study data loaded from testsaved32BE-2 57 ------------------------------------------------------------------ 58 0 70 Bra 59 2 33 CBra 1 60 5 [Za\x{400}-\x{10ffff}]{4,} 61 23 [\x{f123}\x{10039}\x{20000}-\x{21234}]? 62 35 19 Alt 63 37 [A-Cx-z\x{100000}-\x{1000a7}\x{101234}] 64 54 52 Ket 65 56 12 CBra 2 66 59 [\x00-`b-y{-\xff] (neg) 67 68 12 Ket 68 70 70 Ket 69 72 End 70 ------------------------------------------------------------------ 71 Capturing subpattern count = 2 72 Named capturing subpatterns: 73 cb2 2 74 cbra1 1 75 Options: extended utf 76 No first char 77 No need char 78 Subject length lower bound = 2 79 No starting char list 80 81 /-- End of testinput22 --/ 82