mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-27 07:15:37 +03:00
d4de0e6f1e
I was über lazy at first, so took libs from SM. But actually it's quite easy to compile, so let's update to latest version \o/.
82 lines
2.3 KiB
Plaintext
82 lines
2.3 KiB
Plaintext
/-- Tests for reloading pre-compile patterns with UTF-16 or UTF-32 support. */
|
|
|
|
%-- 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
|
|
|
|
<!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
|
|
Options: extended utf
|
|
No first char
|
|
No need char
|
|
Subject length lower bound = 2
|
|
No starting char list
|
|
|
|
<!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
|
|
Options: extended utf
|
|
No first char
|
|
No need char
|
|
Subject length lower bound = 2
|
|
No starting char list
|
|
|
|
<!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 --/
|