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

Contents of /code/trunk/testdata/testoutput20

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1055 - (show annotations)
Tue Oct 16 15:53:30 2012 UTC (8 years, 6 months ago) by chpe
File size: 394 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 /-- These tests are for the handling of characters greater than 255 in 16-bit,
2 non-UTF-16 mode, or in 32-bit mode. --/
3
4 /^\x{ffff}+/i
5 \x{ffff}
6 0: \x{ffff}
7
8 /^\x{ffff}?/i
9 \x{ffff}
10 0: \x{ffff}
11
12 /^\x{ffff}*/i
13 \x{ffff}
14 0: \x{ffff}
15
16 /^\x{ffff}{3}/i
17 \x{ffff}\x{ffff}\x{ffff}
18 0: \x{ffff}\x{ffff}\x{ffff}
19
20 /^\x{ffff}{0,3}/i
21 \x{ffff}
22 0: \x{ffff}
23
24 /-- End of testinput20 --/

  ViewVC Help
Powered by ViewVC 1.1.5