/[pcre]/code/trunk/testdata/testoutput25
ViewVC logotype

Contents of /code/trunk/testdata/testoutput25

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1055 - (show annotations)
Tue Oct 16 15:53:30 2012 UTC (6 years, 11 months ago) by chpe
File size: 848 byte(s)
Error occurred while calculating annotation data.
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.
1 /-- Tests for the 32-bit library only */
2
3 /-- Check maximum character size --/
4
5 /\x{110000}/8
6 Failed: character value in \x{...} sequence is too large at offset 9
7
8 /\x{110000}/
9
10 /\x{7fffffff}/
11
12 /\x{80000000}/
13 Failed: character value in \x{...} sequence is too large at offset 11
14
15 /-- Non-UTF characters --/
16
17 /\C/8
18 \x{110000}
19 **Failed: character value greater than 0x10ffff cannot be converted to UTF-32
20
21 /\C{2,3}/
22 \x{400000}\x{400001}\x{400002}\x{400003}
23 0: \x{400000}\x{400001}\x{400002}
24
25 /\x{400000}\x{800000}/iDZ
26 ------------------------------------------------------------------
27 Bra
28 /i \x{400000}\x{800000}
29 Ket
30 End
31 ------------------------------------------------------------------
32 Capturing subpattern count = 0
33 Options: caseless
34 First char = \x{400000}
35 Need char = \x{800000}
36
37 /-- End of testinput25 --/

  ViewVC Help
Powered by ViewVC 1.1.5