/[pcre]/code/tags/pcre-1.03/testinput2
ViewVC logotype

Contents of /code/tags/pcre-1.03/testinput2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5 - (hide annotations) (download)
Sat Feb 24 21:38:05 2007 UTC (7 years, 1 month ago) by nigel
Original Path: code/trunk/testinput2
File size: 3509 byte(s)
Load pcre-1.01 into code/trunk.

1 nigel 3 /(a)b|/
2    
3     /(a*)*/
4    
5     /(abc|)+/
6    
7     /abc/
8     abc
9     defabc
10     \Aabc
11     \IABC
12     *** Failers
13     \Adefabc
14     ABC
15    
16     /^abc/
17     abc
18     \Aabc
19     *** Failers
20     defabc
21     \Adefabc
22    
23     /a+bc/
24    
25     /a*bc/
26    
27     /a{3}bc/
28    
29     /(abc|a+z)/
30    
31     /^abc$/
32     abc
33     \Mdef\nabc
34     *** Failers
35     def\nabc
36    
37     /abc\/
38    
39     /ab\gdef/X
40    
41     /x{5,4}/
42    
43     /z{65536}/
44    
45     /[abcd/
46    
47     /[\B]/
48    
49     /[a-\w]/
50    
51     /[z-a]/
52    
53     /^*/
54    
55     /(abc/
56    
57     /(?# abc/
58    
59     /(?z)abc/
60    
61     /.*b/
62    
63     /.*?b/
64    
65     /cat|dog|elephant/
66     this sentence eventually mentions a cat
67     this sentences rambles on and on for a while and then reaches elephant
68    
69     /cat|dog|elephant/S
70     this sentence eventually mentions a cat
71     this sentences rambles on and on for a while and then reaches elephant
72    
73     /cat|dog|elephant/iS
74     this sentence eventually mentions a CAT cat
75     this sentences rambles on and on for a while to elephant ElePhant
76    
77     /cat|dog|elephant/IS
78     this sentence eventually mentions a CAT cat
79     this sentences rambles on and on for a while to elephant ElePhant
80    
81     /cat|dog|elephant/IS
82     \Ithis sentence eventually mentions a CAT cat
83     \Ithis sentences rambles on and on for a while to elephant ElePhant
84    
85     /a|[bcd]/S
86    
87     /(a|[^\dZ])/S
88    
89     /(a|b)*[\s]/S
90    
91     /(ab\2)/
92    
93     /{4,5}abc/
94    
95     /(a)(b)(c)\2/
96     abcb
97     \O0abcb
98     \O2abcb
99     \O4abcb
100     \O6abcb
101     \O8abcb
102    
103     /(a)bc|(a)(b)\2/
104     abc
105     \O0abc
106     \O2abc
107     \O4abc
108     aba
109     \O0aba
110     \O2aba
111     \O4aba
112     \O6aba
113     \O8aba
114    
115     /^a.b/
116     \Sa\nb
117    
118     /abc$/E
119     abc
120     *** Failers
121     abc\n
122     abc\ndef
123    
124     /abc$/
125     *** Failers
126     \Eabc\n
127     \Eabc\ndef
128    
129     /abc$/m
130     \Eabc\n
131     \Eabc\ndef
132    
133     /(a)(b)(c)(d)(e)\6/
134    
135     /the quick brown fox/
136     the quick brown fox
137     this is a line with the quick brown fox
138    
139     /the quick brown fox/A
140     the quick brown fox
141     *** Failers
142     this is a line with the quick brown fox
143    
144     /ab(?z)cd/
145    
146     ".*/\Xfoo"X
147     /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/it/you/see/
148    
149     ".*/\Xfoo"X
150     /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
151    
152     /(\.\d\d[1-9]?)\d+/
153     1.230003938
154     1.875000282
155     1.235
156    
157     /(\.\d\d[1-9]?)\X\d+/X
158     1.230003938
159     1.875000282
160     *** Failers
161     1.235
162    
163     /(\.\d\d((?=0)|\d(?=\d)))/
164     1.230003938
165     1.875000282
166     *** Failers
167     1.235
168    
169     /^(\w+\X|\s+\X)*$/X
170     now is the time for all good men to come to the aid of the party
171     *** Failers
172     this is not a line with only words and spaces!
173    
174     /^abc|def/
175     abcdef
176     abcdef\B
177    
178     /.*((abc)$|(def))/
179     defabc
180     \Zdefabc
181    
182     /abc/P
183     abc
184     *** Failers
185    
186     /^abc|def/P
187     abcdef
188     abcdef\B
189    
190     /.*((abc)$|(def))/P
191     defabc
192     \Zdefabc
193    
194     /the quick brown fox/P
195     the quick brown fox
196     *** Failers
197     The Quick Brown Fox
198    
199     /the quick brown fox/Pi
200     the quick brown fox
201     The Quick Brown Fox
202    
203     /abc.def/P
204     *** Failers
205     abc\ndef
206    
207     /abc$/P
208     abc
209     abc\n
210    
211     /abc\/P
212    
213     /(abc)\2/P
214    
215     /(abc\1)/P
216     abc
217    
218     "(?>.*/)foo"X
219     /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/it/you/see/
220    
221     "(?>.*/)foo"X
222     /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
223    
224     /(?>(\.\d\d[1-9]?))\d+/X
225     1.230003938
226     1.875000282
227     *** Failers
228     1.235
229    
230     /^((?>\w+)|(?>\s+))*$/X
231     now is the time for all good men to come to the aid of the party
232     *** Failers
233     this is not a line with only words and spaces!
234    
235     /(\d+)(\w)/X
236     12345a
237     12345+
238    
239     /((?>\d+))(\w)/X
240     12345a
241     *** Failers
242     12345+
243    
244 nigel 5 /([a]*)*/
245    
246     /([ab]*)*/
247    
248     /([^a]*)*/
249    
250     /([^ab]*)*/
251    
252     /([a]*?)*/
253    
254     /([ab]*?)*/
255    
256     /([^a]*?)*/
257    
258     /([^ab]*?)*/
259    
260     /(?>a*)*/X
261    
262     /((?>a*))*/X
263    
264     /((?>a*?))*/X
265    
266 nigel 3 / End of test input /

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12