2014-07-04 22:28:24 +00:00
|
|
|
/-- Tests for reloading pre-compile patterns with UTF-16 or UTF-32 support. */
|
|
|
|
|
2014-07-05 11:53:30 +00:00
|
|
|
%-- Generated from:
|
|
|
|
/(?P<cbra1>[aZ\x{400}-\x{10ffff}]{4,}
|
|
|
|
[\x{f123}\x{10039}\x{20000}-\x{21234}]?|
|
|
|
|
[A-Cx-z\x{100000}-\x{1000a7}\x{101234}])
|
|
|
|
(?<cb2>[^az])/x
|
|
|
|
|
|
|
|
In 16-bit mode with options: S8>testdata/saved16LE-2
|
|
|
|
FS8>testdata/saved16BE-2
|
|
|
|
In 32-bit mode with options: S8>testdata/saved32LE-2
|
|
|
|
FS8>testdata/saved32BE-2
|
|
|
|
--%8x
|
2014-07-04 22:28:24 +00:00
|
|
|
|
|
|
|
<!testsaved16LE-2
|
|
|
|
Compiled pattern loaded from testsaved16LE-2
|
|
|
|
Study data loaded from testsaved16LE-2
|
|
|
|
------------------------------------------------------------------
|
|
|
|
0 101 Bra
|
|
|
|
2 45 CBra 1
|
|
|
|
5 [Za\x{400}-\x{10ffff}]{4,}
|
|
|
|
32 [\x{f123}\x{10039}\x{20000}-\x{21234}]?
|
|
|
|
47 30 Alt
|
|
|
|
49 [A-Cx-z\x{100000}-\x{1000a7}\x{101234}]
|
|
|
|
77 75 Ket
|
|
|
|
79 20 CBra 2
|
|
|
|
82 [\x00-`b-y{-\xff] (neg)
|
|
|
|
99 20 Ket
|
|
|
|
101 101 Ket
|
|
|
|
103 End
|
|
|
|
------------------------------------------------------------------
|
|
|
|
Capturing subpattern count = 2
|
|
|
|
Named capturing subpatterns:
|
|
|
|
cb2 2
|
|
|
|
cbra1 1
|
2014-07-05 11:53:30 +00:00
|
|
|
Options: extended utf
|
2014-07-04 22:28:24 +00:00
|
|
|
No first char
|
|
|
|
No need char
|
|
|
|
Subject length lower bound = 2
|
2014-07-05 11:53:30 +00:00
|
|
|
No starting char list
|
2014-07-04 22:28:24 +00:00
|
|
|
|
|
|
|
<!testsaved16BE-2
|
|
|
|
Compiled pattern loaded from testsaved16BE-2
|
|
|
|
Study data loaded from testsaved16BE-2
|
|
|
|
------------------------------------------------------------------
|
|
|
|
0 101 Bra
|
|
|
|
2 45 CBra 1
|
|
|
|
5 [Za\x{400}-\x{10ffff}]{4,}
|
|
|
|
32 [\x{f123}\x{10039}\x{20000}-\x{21234}]?
|
|
|
|
47 30 Alt
|
|
|
|
49 [A-Cx-z\x{100000}-\x{1000a7}\x{101234}]
|
|
|
|
77 75 Ket
|
|
|
|
79 20 CBra 2
|
|
|
|
82 [\x00-`b-y{-\xff] (neg)
|
|
|
|
99 20 Ket
|
|
|
|
101 101 Ket
|
|
|
|
103 End
|
|
|
|
------------------------------------------------------------------
|
|
|
|
Capturing subpattern count = 2
|
|
|
|
Named capturing subpatterns:
|
|
|
|
cb2 2
|
|
|
|
cbra1 1
|
2014-07-05 11:53:30 +00:00
|
|
|
Options: extended utf
|
2014-07-04 22:28:24 +00:00
|
|
|
No first char
|
|
|
|
No need char
|
|
|
|
Subject length lower bound = 2
|
2014-07-05 11:53:30 +00:00
|
|
|
No starting char list
|
2014-07-04 22:28:24 +00:00
|
|
|
|
|
|
|
<!testsaved32LE-2
|
|
|
|
Compiled pattern loaded from testsaved32LE-2
|
|
|
|
Study data loaded from testsaved32LE-2
|
|
|
|
Error -28 from pcre16_fullinfo(0)
|
|
|
|
Running in 16-bit mode but pattern was compiled in 32-bit mode
|
|
|
|
|
|
|
|
<!testsaved32BE-2
|
|
|
|
Compiled pattern loaded from testsaved32BE-2
|
|
|
|
Study data loaded from testsaved32BE-2
|
|
|
|
Error -28 from pcre16_fullinfo(0)
|
|
|
|
Running in 16-bit mode but pattern was compiled in 32-bit mode
|
|
|
|
|
|
|
|
/-- End of testinput22 --/
|