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

Contents of /code/trunk/testdata/testinput5

Parent Directory Parent Directory | Revision Log Revision Log


Revision 49 - (show annotations) (download)
Sat Feb 24 21:39:33 2007 UTC (7 years, 7 months ago) by nigel
File size: 1948 byte(s)
Load pcre-3.3 into code/trunk.

1 /-- Because of problems with Perl 5.6 in handling UTF-8 vs non UTF-8 --/
2 /-- strings automatically, do not use the \x{} construct except with --/
3 /-- patterns that have the /8 option set, and don't use them without! --/
4
5 /a.b/8
6 acb
7 a\x7fb
8 a\x{100}b
9 *** Failers
10 a\nb
11
12 /a(.{3})b/8
13 a\x{4000}xyb
14 a\x{4000}\x7fyb
15 a\x{4000}\x{100}yb
16 *** Failers
17 a\x{4000}b
18 ac\ncb
19
20 /a(.*?)(.)/
21 a\xc0\x88b
22
23 /a(.*?)(.)/8
24 a\x{100}b
25
26 /a(.*)(.)/
27 a\xc0\x88b
28
29 /a(.*)(.)/8
30 a\x{100}b
31
32 /a(.)(.)/
33 a\xc0\x92bcd
34
35 /a(.)(.)/8
36 a\x{240}bcd
37
38 /a(.?)(.)/
39 a\xc0\x92bcd
40
41 /a(.?)(.)/8
42 a\x{240}bcd
43
44 /a(.??)(.)/
45 a\xc0\x92bcd
46
47 /a(.??)(.)/8
48 a\x{240}bcd
49
50 /a(.{3})b/8
51 a\x{1234}xyb
52 a\x{1234}\x{4321}yb
53 a\x{1234}\x{4321}\x{3412}b
54 *** Failers
55 a\x{1234}b
56 ac\ncb
57
58 /a(.{3,})b/8
59 a\x{1234}xyb
60 a\x{1234}\x{4321}yb
61 a\x{1234}\x{4321}\x{3412}b
62 axxxxbcdefghijb
63 a\x{1234}\x{4321}\x{3412}\x{3421}b
64 *** Failers
65 a\x{1234}b
66
67 /a(.{3,}?)b/8
68 a\x{1234}xyb
69 a\x{1234}\x{4321}yb
70 a\x{1234}\x{4321}\x{3412}b
71 axxxxbcdefghijb
72 a\x{1234}\x{4321}\x{3412}\x{3421}b
73 *** Failers
74 a\x{1234}b
75
76 /a(.{3,5})b/8
77 a\x{1234}xyb
78 a\x{1234}\x{4321}yb
79 a\x{1234}\x{4321}\x{3412}b
80 axxxxbcdefghijb
81 a\x{1234}\x{4321}\x{3412}\x{3421}b
82 axbxxbcdefghijb
83 axxxxxbcdefghijb
84 *** Failers
85 a\x{1234}b
86 axxxxxxbcdefghijb
87
88 /a(.{3,5}?)b/8
89 a\x{1234}xyb
90 a\x{1234}\x{4321}yb
91 a\x{1234}\x{4321}\x{3412}b
92 axxxxbcdefghijb
93 a\x{1234}\x{4321}\x{3412}\x{3421}b
94 axbxxbcdefghijb
95 axxxxxbcdefghijb
96 *** Failers
97 a\x{1234}b
98 axxxxxxbcdefghijb
99
100 /^[a\x{c0}]/8
101 *** Failers
102 \x{100}
103
104 /(?<=aXb)cd/8
105 aXbcd
106
107 /(?<=a\x{100}b)cd/8
108 a\x{100}bcd
109
110 /(?<=a\x{100000}b)cd/8
111 a\x{100000}bcd
112
113 /(?:\x{100}){3}b/8
114 \x{100}\x{100}\x{100}b
115 *** Failers
116 \x{100}\x{100}b
117
118 / End of testinput5 /

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12