1/-- Tests for reloading pre-compiled patterns. The first one gives an error 2right away, and can be any old pattern compiled in 8-bit mode ("abc" is 3typical). The others require the link size to be 2. */x 4 5<!testsaved8 6Compiled pattern loaded from testsaved8 7No study data 8Error -28 from pcre16_fullinfo(0) 9Running in 16-bit mode but pattern was compiled in 8-bit mode 10 11%-- Generated from: 12 /^[aL](?P<name>(?:[AaLl]+)[^xX-]*?)(?P<other>[\x{150}-\x{250}\x{300}]| 13 [^\x{800}aAs-uS-U\x{d800}-\x{dfff}])++[^#\b\x{500}\x{1000}]{3,5}$ 14 /x 15 16 In 16-bit mode with options: S>testdata/saved16LE-1 17 FS>testdata/saved16BE-1 18 In 32-bit mode with options: S>testdata/saved32LE-1 19 FS>testdata/saved32BE-1 20--%x 21 22<!testsaved16LE-1 23Compiled pattern loaded from testsaved16LE-1 24Study data loaded from testsaved16LE-1 25------------------------------------------------------------------ 26 0 134 Bra 27 2 ^ 28 3 [La] 29 20 43 CBra 1 30 23 20 Bra 31 25 [ALal]+ 32 43 20 Ket 33 45 [\x00-,.-WY-wy-\xff] (neg)*? 34 63 43 Ket 35 65 12 CBraPos 2 36 68 [\x{150}-\x{250}\x{300}] 37 77 27 Alt 38 79 [^AS-Uas-u\x{800}\x{d800}-\x{dfff}] 39104 39 KetRpos 40106 [^\x08#\x{500}\x{1000}]{3,5} 41133 $ 42134 134 Ket 43136 End 44------------------------------------------------------------------ 45Capturing subpattern count = 2 46Named capturing subpatterns: 47 name 1 48 other 2 49Options: anchored extended 50No first char 51No need char 52Subject length lower bound = 6 53No starting char list 54 55<!testsaved16BE-1 56Compiled pattern loaded from testsaved16BE-1 57Study data loaded from testsaved16BE-1 58------------------------------------------------------------------ 59 0 134 Bra 60 2 ^ 61 3 [La] 62 20 43 CBra 1 63 23 20 Bra 64 25 [ALal]+ 65 43 20 Ket 66 45 [\x00-,.-WY-wy-\xff] (neg)*? 67 63 43 Ket 68 65 12 CBraPos 2 69 68 [\x{150}-\x{250}\x{300}] 70 77 27 Alt 71 79 [^AS-Uas-u\x{800}\x{d800}-\x{dfff}] 72104 39 KetRpos 73106 [^\x08#\x{500}\x{1000}]{3,5} 74133 $ 75134 134 Ket 76136 End 77------------------------------------------------------------------ 78Capturing subpattern count = 2 79Named capturing subpatterns: 80 name 1 81 other 2 82Options: anchored extended 83No first char 84No need char 85Subject length lower bound = 6 86No starting char list 87 88<!testsaved32LE-1 89Compiled pattern loaded from testsaved32LE-1 90Study data loaded from testsaved32LE-1 91Error -28 from pcre16_fullinfo(0) 92Running in 16-bit mode but pattern was compiled in 32-bit mode 93 94<!testsaved32BE-1 95Compiled pattern loaded from testsaved32BE-1 96Study data loaded from testsaved32BE-1 97Error -28 from pcre16_fullinfo(0) 98Running in 16-bit mode but pattern was compiled in 32-bit mode 99 100/-- End of testinput21 --/ 101