diff options
author | chpe <chpe@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-10-16 15:53:30 +0000 |
---|---|---|
committer | chpe <chpe@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-10-16 15:53:30 +0000 |
commit | 62c2f93fe63ee94ff2692091a42a7d594f5d4fe3 (patch) | |
tree | 3d1739b24c57943c20fa880eed55ab341db96a81 /testdata/testoutput25 | |
parent | 3f6d05379ea067a3b4f4a61e4be268ee8c37e7a6 (diff) | |
download | pcre-62c2f93fe63ee94ff2692091a42a7d594f5d4fe3.tar.gz |
pcre32: Add 32-bit library
Create libpcre32 that operates on 32-bit characters (UTF-32).
This turned out to be surprisingly simple after the UTF-16 support
was introduced; mostly just extra ifdefs and adjusting and adding
some tests.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1055 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata/testoutput25')
-rw-r--r-- | testdata/testoutput25 | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testdata/testoutput25 b/testdata/testoutput25 new file mode 100644 index 0000000..1acbed5 --- /dev/null +++ b/testdata/testoutput25 @@ -0,0 +1,37 @@ +/-- Tests for the 32-bit library only */ + +/-- Check maximum character size --/ + +/\x{110000}/8 +Failed: character value in \x{...} sequence is too large at offset 9 + +/\x{110000}/ + +/\x{7fffffff}/ + +/\x{80000000}/ +Failed: character value in \x{...} sequence is too large at offset 11 + +/-- Non-UTF characters --/ + +/\C/8 + \x{110000} +**Failed: character value greater than 0x10ffff cannot be converted to UTF-32 + +/\C{2,3}/ + \x{400000}\x{400001}\x{400002}\x{400003} + 0: \x{400000}\x{400001}\x{400002} + +/\x{400000}\x{800000}/iDZ +------------------------------------------------------------------ + Bra + /i \x{400000}\x{800000} + Ket + End +------------------------------------------------------------------ +Capturing subpattern count = 0 +Options: caseless +First char = \x{400000} +Need char = \x{800000} + +/-- End of testinput25 --/ |