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

Contents of /code/trunk/testdata/testoutput5

Parent Directory Parent Directory | Revision Log Revision Log


Revision 51 - (hide annotations) (download)
Sat Feb 24 21:39:37 2007 UTC (7 years, 5 months ago) by nigel
File size: 3874 byte(s)
Load pcre-3.4 into code/trunk.

1 nigel 51 PCRE version 3.4 22-Aug-2000
2 nigel 49
3     /-- Because of problems with Perl 5.6 in handling UTF-8 vs non UTF-8 --/
4     /-- strings automatically, do not use the \x{} construct except with --/
5     No match
6     /-- patterns that have the /8 option set, and don't use them without! --/
7     No match
8    
9     /a.b/8
10     acb
11     0: acb
12     a\x7fb
13     0: a\x{7f}b
14     a\x{100}b
15     0: a\x{100}b
16     *** Failers
17     No match
18     a\nb
19     No match
20    
21     /a(.{3})b/8
22     a\x{4000}xyb
23     0: a\x{4000}xyb
24     1: \x{4000}xy
25     a\x{4000}\x7fyb
26     0: a\x{4000}\x{7f}yb
27     1: \x{4000}\x{7f}y
28     a\x{4000}\x{100}yb
29     0: a\x{4000}\x{100}yb
30     1: \x{4000}\x{100}y
31     *** Failers
32     No match
33     a\x{4000}b
34     No match
35     ac\ncb
36     No match
37    
38     /a(.*?)(.)/
39     a\xc0\x88b
40     0: a\xc0
41     1:
42     2: \xc0
43    
44     /a(.*?)(.)/8
45     a\x{100}b
46     0: a\x{100}
47     1:
48     2: \x{100}
49    
50     /a(.*)(.)/
51     a\xc0\x88b
52     0: a\xc0\x88b
53     1: \xc0\x88
54     2: b
55    
56     /a(.*)(.)/8
57     a\x{100}b
58     0: a\x{100}b
59     1: \x{100}
60     2: b
61    
62     /a(.)(.)/
63     a\xc0\x92bcd
64     0: a\xc0\x92
65     1: \xc0
66     2: \x92
67    
68     /a(.)(.)/8
69     a\x{240}bcd
70     0: a\x{240}b
71     1: \x{240}
72     2: b
73    
74     /a(.?)(.)/
75     a\xc0\x92bcd
76     0: a\xc0\x92
77     1: \xc0
78     2: \x92
79    
80     /a(.?)(.)/8
81     a\x{240}bcd
82     0: a\x{240}b
83     1: \x{240}
84     2: b
85    
86     /a(.??)(.)/
87     a\xc0\x92bcd
88     0: a\xc0
89     1:
90     2: \xc0
91    
92     /a(.??)(.)/8
93     a\x{240}bcd
94     0: a\x{240}
95     1:
96     2: \x{240}
97    
98     /a(.{3})b/8
99     a\x{1234}xyb
100     0: a\x{1234}xyb
101     1: \x{1234}xy
102     a\x{1234}\x{4321}yb
103     0: a\x{1234}\x{4321}yb
104     1: \x{1234}\x{4321}y
105     a\x{1234}\x{4321}\x{3412}b
106     0: a\x{1234}\x{4321}\x{3412}b
107     1: \x{1234}\x{4321}\x{3412}
108     *** Failers
109     No match
110     a\x{1234}b
111     No match
112     ac\ncb
113     No match
114    
115     /a(.{3,})b/8
116     a\x{1234}xyb
117     0: a\x{1234}xyb
118     1: \x{1234}xy
119     a\x{1234}\x{4321}yb
120     0: a\x{1234}\x{4321}yb
121     1: \x{1234}\x{4321}y
122     a\x{1234}\x{4321}\x{3412}b
123     0: a\x{1234}\x{4321}\x{3412}b
124     1: \x{1234}\x{4321}\x{3412}
125     axxxxbcdefghijb
126     0: axxxxbcdefghijb
127     1: xxxxbcdefghij
128     a\x{1234}\x{4321}\x{3412}\x{3421}b
129     0: a\x{1234}\x{4321}\x{3412}\x{3421}b
130     1: \x{1234}\x{4321}\x{3412}\x{3421}
131     *** Failers
132     No match
133     a\x{1234}b
134     No match
135    
136     /a(.{3,}?)b/8
137     a\x{1234}xyb
138     0: a\x{1234}xyb
139     1: \x{1234}xy
140     a\x{1234}\x{4321}yb
141     0: a\x{1234}\x{4321}yb
142     1: \x{1234}\x{4321}y
143     a\x{1234}\x{4321}\x{3412}b
144     0: a\x{1234}\x{4321}\x{3412}b
145     1: \x{1234}\x{4321}\x{3412}
146     axxxxbcdefghijb
147     0: axxxxb
148     1: xxxx
149     a\x{1234}\x{4321}\x{3412}\x{3421}b
150     0: a\x{1234}\x{4321}\x{3412}\x{3421}b
151     1: \x{1234}\x{4321}\x{3412}\x{3421}
152     *** Failers
153     No match
154     a\x{1234}b
155     No match
156    
157     /a(.{3,5})b/8
158     a\x{1234}xyb
159     0: a\x{1234}xyb
160     1: \x{1234}xy
161     a\x{1234}\x{4321}yb
162     0: a\x{1234}\x{4321}yb
163     1: \x{1234}\x{4321}y
164     a\x{1234}\x{4321}\x{3412}b
165     0: a\x{1234}\x{4321}\x{3412}b
166     1: \x{1234}\x{4321}\x{3412}
167     axxxxbcdefghijb
168     0: axxxxb
169     1: xxxx
170     a\x{1234}\x{4321}\x{3412}\x{3421}b
171     0: a\x{1234}\x{4321}\x{3412}\x{3421}b
172     1: \x{1234}\x{4321}\x{3412}\x{3421}
173     axbxxbcdefghijb
174     0: axbxxb
175     1: xbxx
176     axxxxxbcdefghijb
177     0: axxxxxb
178     1: xxxxx
179     *** Failers
180     No match
181     a\x{1234}b
182     No match
183     axxxxxxbcdefghijb
184     No match
185    
186     /a(.{3,5}?)b/8
187     a\x{1234}xyb
188     0: a\x{1234}xyb
189     1: \x{1234}xy
190     a\x{1234}\x{4321}yb
191     0: a\x{1234}\x{4321}yb
192     1: \x{1234}\x{4321}y
193     a\x{1234}\x{4321}\x{3412}b
194     0: a\x{1234}\x{4321}\x{3412}b
195     1: \x{1234}\x{4321}\x{3412}
196     axxxxbcdefghijb
197     0: axxxxb
198     1: xxxx
199     a\x{1234}\x{4321}\x{3412}\x{3421}b
200     0: a\x{1234}\x{4321}\x{3412}\x{3421}b
201     1: \x{1234}\x{4321}\x{3412}\x{3421}
202     axbxxbcdefghijb
203     0: axbxxb
204     1: xbxx
205     axxxxxbcdefghijb
206     0: axxxxxb
207     1: xxxxx
208     *** Failers
209     No match
210     a\x{1234}b
211     No match
212     axxxxxxbcdefghijb
213     No match
214    
215     /^[a\x{c0}]/8
216     *** Failers
217     No match
218     \x{100}
219     No match
220    
221     /(?<=aXb)cd/8
222     aXbcd
223     0: cd
224    
225     /(?<=a\x{100}b)cd/8
226     a\x{100}bcd
227     0: cd
228    
229     /(?<=a\x{100000}b)cd/8
230     a\x{100000}bcd
231     0: cd
232    
233     /(?:\x{100}){3}b/8
234     \x{100}\x{100}\x{100}b
235     0: \x{100}\x{100}\x{100}b
236     *** Failers
237     No match
238     \x{100}\x{100}b
239     No match
240    
241     / End of testinput5 /
242    

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12