source: icGREP/icgrep-devel/QA/greptest.xml @ 4834

Last change on this file since 4834 was 4834, checked in by nmedfort, 3 years ago

Couple more test cases for grapheme clusters.

File size: 22.0 KB
Line 
1
2<greptest>
3<datafile id="simple1">
4A few lines of input
5in this simple test file
6provide fodder for some simple
7regexp tests.
8</datafile>
9
10<datafile id="bounded_charclass">
11=a;
12=bb;
13=ccc;
14=dddd;
15=eeeee;
16=ffffff;
17=ggggggg;
18=hhhhhhhh;
19=iiiiiiiii;
20=jjjjjjjjjj;
21=kkkkkkkkkkk;
22=llllllllllll;
23=mmmmmmmmmmmmm;
24=nnnnnnnnnnnnnn;
25=ooooooooooooooo;
26=pppppppppppppppp;
27=qqqqqqqqqqqqqqqqq;
28=rrrrrrrrrrrrrrrrrr;
29=sssssssssssssssssss;
30=tttttttttttttttttttt;
31=uuuuuuuuuuuuuuuuuuuuu;
32=vvvvvvvvvvvvvvvvvvvvvv;
33=wwwwwwwwwwwwwwwwwwwwwww;
34=xxxxxxxxxxxxxxxxxxxxxxxx;
35=yyyyyyyyyyyyyyyyyyyyyyyyy;
36=zzzzzzzzzzzzzzzzzzzzzzzzzz;
37=0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789;
38=01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789;
39=012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789;
40=0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789;
41=01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789;
42=012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789;
43=01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789;
44=012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789;
45=0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789;
46</datafile>
47
48<datafile id="RangeAltSeqMatchStarKplusWhileNotOptAny">
49Dogbe hat ,/R Cat dt bt bt bt bt bat MzzzzzzzzT MaT MT McT MdT MeT M0T M1T M2T M3T M4T
50Dogbe hit foffasm zza " Dog Cat 1, 4= Dog ['zxcvbnm,./R Dog MT
51Dogbe hot foffasm czzb " MazazazTDogogogogog Cat 1, 4= Dog [;'zxcvbnm,./R Dogtp
52Dogbe foffasm dooooc MazT" Dog Cat 1, 4= Dog [Sqwertyuiopasdfghjkl;'zxcvbnm,./R Dog Cat
53Dogbe foffasm ezzzzzzzzzzzzzzt "tp Dog Cat 12, ktp 4= Dog [jkl;'zxcvbnm,./R Dogtp
54Dogbe foffasm zze " Dog CatMjT , = Dog [;'zxcvbzzznm,./R Dog MazazT cat
55zzcztpDogbe fofasm zazazz4z Doggg Cat 6, azzzzz= Dog [;'zxcvbonm,.R Dog TUT Dog
56Natatatats Nats T M0T ed bazbzczdzt et
57Dfg dc fog Nt ezt
58MazazazazazazazT
59</datafile>
60
61
62<datafile id="StartEndAlt">
63The ever-growing social networks and social media provide invaluable
64sources of information for modeling the behavior of users. High-quality
65user models enable superior services and functions for end users. In this
66talk, I will present several examples of user modeling based on social
67networks and social media. I will first describe our research in modeling
68users' information preferences on Microblogs using a novel user message
69model. I will then discuss our work on extracting users' daily activities,
70such as dining and shopping, that inherently reflect their habits, intents and preferences.
71I explain our novel transfer learning solution via a collaborative boosting
72framework comprising a text-to-activity classifier for socially connected users.
73I will also describe our research on user modeling in multiple, overlapping
74social networks in a 'composite social network' setting. I will show the benefits of
75modeling the dynamics of composite networks, where the evolution processes
76of different networks are jointly considered. Finally, I will explain our
77research on finding social spammers in large social networks.
78</datafile>
79
80<datafile id="special_characters">
81The ] character may appear as the first character inside character class
82expressions such as []>)].
83In this case, the ] character does not terminate the character class, but
84stands for itself.
85Similarly, the - character may appear as the first or last character
86in a character class expression, such as [-] or []-].  Occurring as the
87first or last character in a class means that it is a member of the
88class, instead of being interpreted as a range metacharacter.
89For both ] and -, occurrence as the first character could mean after
90an opening [^ mark for negated character class.   That is [^]] is the
91class that matches everything but ], while [^-] is the class that matches
92anything but -.
93----------
94The above line does not match [^-].
95----------
96]]]]]]]]]]
97^^^^^^^^^^
98</datafile>
99
100<datafile id="ips"> 
101201.250.180.213
102236.4.20.176
103137.96.194.126
104245.16.96.112
105245.19.58.43
106131.176.131.248
107248.160.22.214
108156.179.88.103
109174.13.62.156
110256.122.123.5
11116.81.78.152
112177.17.24.167
11332.120.25.23
114138.82.66.15
1154.196.8.251
116101.30.211.3
117209.44.105.129
11856.166.31.72
119247.108.224.170
120124.248.83.156
121113.107.178.250
122189.243.10.192
123184.18.189.31
12448.145.33.2
125188.137.131.244
12649.161.61.42
12714.31.211.138
12824.39.39.136
129146.217.131.80
130205.141.18.135
131159.207.166.206
13296.211.62.20
13323.148.44.140
134109.159.129.161
135183.230.172.129
13648.178.63.192
137224.41.190.207
138144.114.56.31
139151.205.132.247
140161.194.12.184
14187.55.69.195
142214.198.102.143
143173.19.17.220
144197.80.158.167
145121.94.119.11
146208.174.42.104
147124.173.96.31
148112.107.215.199
149162.30.140.121
150227.241.9.145
1516.26.111.203
152106.14.115.226
153107.233.237.60
154153.24.163.23
155197.4.54.55
156111.14.253.18
15743.138.139.15
158125.148.160.131
159173.16.80.24
16030.194.250.136
161173.233.196.71
162</datafile>
163
164<datafile id="emails">
165danielsmithinvestment01@yahoo.com
166vivian.johnp24@gmail.com
167drjohnsonadamscompany@mail.com
168fb43@kurtz.onmicrosoft.com
169delphinehakizimana11@zipmail.com.br
170mrs.swp@outlook.com
171engr.saidsalem@workmail@co.za
172suleadams342003@gmail.com
173info.soopercredit@qq.com
174aliceisdale@yahoo.com
175elizabethjohnson134@hotmail.com
176anikaebertus@yahoo.se
177bayford_A@qq.com
178hijabfarid@hotmail.com
179zaringwarkipkalya@aol.fr
180monahmeddd2014@gmail.com
181hijab.farid@hotmail.cam
182dennis.melcher01@gmail.com
183publicitycbn@gmail.com
184michaelkruegerloancompany@gmail.com
185ben525387@gmail.com
186dgill_pwc@mynet.com
187dgill_pwc1@terra.com
188tuthpala12@gmail.com
189johanthony1956@e-mail.ua
190christopher.white01@live.co.uk
191anitaloanfirm@live.com
192aliadamssolicitors@gmail.com
193jonathanevans000@yahoo.com
194jwatson494@yahoo.com
195ec21buyer@gmail.com
196sussanbien2012@gmail.com
197info@pavochenkofinance.tk
198honbarrijzdende@gmail.com
199ernestebi699@e-mail.ua
200siwei4489@yahoo.com.hk
201peterkoffi.info@gmail.com
202zenithbankplc106@yahoo.com
203fidelitybankplc505@aim.com
204kymcrox03@gmail.com
205esqharsmith2015@gmail.com
206facebooklottdepartment936@gmail.com
207lt_industries@outlook.com
208cpfi.ltd@live.nope
209changying33@yahoo.com
210abdoul0000hamid@gmail.com
211foreign_exchange@live.co.uk
212hdcliveuk@live.com
213fatimahhassan1@fengv.com
214mikejosephloanfirm202@gmail.com
215skyebanktg@rediffmail.com
216mrsbellafirm001@gmail.com
217financtreasury.uk@email.com
218admin@senagua.gob.ec
219m2424m@live.com
220stevewilliam197@gmail.com
221mrmathew.martins@yahoo.com
222benjaminwilliam917@gmail.com
223abe.shelton1@lenta.ru
224owengah@live.com
225dlserv01@aol.com
226ee.apala@gmail.com
227bbcpaydpt@live.com
228undpfn20114@gmail.com
229janievitek@gmail.com
230creditservice@careceo.com
231cying011@yahoo.com
232christophe_gbeffa@hotmail.fr
233maracasinter@yahoo.com
234iquad94@yahoo.com
235emil.jacobs@mail.com
236emil.jacob@mail.ru
237mgremittance.info@yahoo.co.uk
238raymondmorgan02@hotmail.com
239mrs_sabahibrahim@ymail.com
240drthomascole7@gmail.com
241barrp.agbo@outlook.fr
242mrsmorganhenlenloanfirm@gmail.com
243barr.njdmdcggroup@yahoo.com
244hknbddhb@gmail.com
245michelfoucault@outlook.fr
246goldsupply@rediffmail.com
247dvdmumbai2000@gmail.com
248mikefinance02@gmail.com
249moonstoneking@gmail.com
250peterstone586@gmail.com
251denis_andre_phillipe@aol.com
252roberto.greco@aol.fr
253mark_grant112@hotmail.com
254nokiaxprizefoundationclaims@coolsite.net
255claims14_88@libero.it
256hon.leo.price@gmail.com
257info_unicef@consultant.com
258u_deliverycompany@yahoo.com
259eldhabiblamah152@gmail.com
260governorsanusi.lamido@yahoo.com.ph
261emyjean18@zipmail.com.br
262winningemail@luckymail.com
263barristervictor_odo@yahoo.com.ph
264nokia.global_promo@consultant.com
265headoffice_cv20448bd@libero.it
266ab.issah@yahoo.com
267ab_issah@yahoo.com.tw
268rifaatassad552@yahoo.com.hk
269barrsandilekhumalo@gmail.com
270gkiir@qq.nope
271ibrahimahmed3@aol.fr
272efccin@e-mail.ua
273dheerajrelan@gmail.com
274al-fardan@al-fardan-export.com
275mellissa000@hotmail.com
276verakones01@hotmail.com
277kivaloanfinance999@gmail.com
278atm.paydept00@outlook.com
279claudiokristiansen@yahoo.co.za
280info.kmf@gmx.com
281mambojames689@yahoo.co.uk
282a.salam2014bf@terra.com
283vanessappillip99@yahoo.com
284vanessaphillip@live.com
285alshat@emirates.net.ae
286</datafile>
287
288<datafile id="floats">
2899.7
29016.07
29127.675
29286.162
293189.36792
294859.073357
2951377.9901658
2961514.73870948
2972096.400730002
2982551.2050637982
2994615.26633110512
3008438.114838435104
30132036.61593959936
30236346.00047312989
303144826.22607192554
304+3.1eE5
305+4.992
306+2.425E+10
3079.5808eE10
3089.5808e10
309+0.416968e+0
310-0.3162108-0
311+0.03069882+0
312+0.132378721eE+-0
3130.43416726670
314+-0.43416726669e+0
315+-0.01976811464eE0
316-0.0197681146402e+-0
3170.02241943884633+0
318+-0.004803458640268eE-0
319+0.0008164744337844E+-0
3200.00266694045551024E+0
321+-0.0112132498185713980
3220.0003485919632198585e+-0
323-0.002599516682231249E+0
3240.02315181236174286E+0
325+0.0116575240311669+0
326+-0.06536499789006515eE+-0
327+20.914506804599366eE+-21
328+-20.062034167562416eE+20
32935.90964837611389E-1
330+-2.5508584172940916E-0
3310.6532888027107796eE0
332+0.02530509823216493E0
333-0.016818871414735502eE+-0
3340.01041535031385609E+0
335-0.017042043493346013eE0
336-0.015882934560610525eE0
337+-0.016271711916486607E+0
338-1.1521320712689072e-1
3390.5796638373356339+2
340-6.78321804536429e+-8
341+-18.6367662944200621
342+20.63224902663965eE21
343+-16.78193317331960417
34410.049610186973338-21
34564.51055985925869eE+-65
346+71.7394478831031eE+115
347+114.85412411903206eE-53
348+150.50431315365464e116
349-388.86846448777743eE+-334
350+-75.50343657758405E-76
351-75.50343657758405eE-151
352-216.9511816984773E176
353-175.798740561957eE-178
354+13.25998057047805113
355+3.745360060000819eE+27
356-27.329937066467846E23
35713.34390770072532E+35
358+34.68092648862783eE+-36
359+-35.6389454910375E-160
360+493.90278138088945eE+-1037
3611037.4462608675137+356
362-356.17279137431007E+983
363</datafile>
364
365<datafile id = "CRLF">line with CRLF &#13;&#10;two lines with LFCR &#10;&#13;final line
366</datafile>
367 <grepcase regexp="^$" datafile="CRLF" grepcount="1"/>
368 <grepcase regexp="^.*$" datafile="CRLF" grepcount="4"/>
369
370 <datafile id = "LU_test">
371The following line has LATIN CAPITAL LETTER G WITH MACRON in single quotes.
372'&#x1E20;'
373</datafile>
374
375<datafile id="4KiB-onepage">abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
376abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
377abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
378abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
379abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
380abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
381abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
382abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
383abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
384abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
385abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
386abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
387abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
388abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
389abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
390abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
391abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
392abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
393abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
394abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
395abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
396abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
397abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
398abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
399abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
400abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
401abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
402abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
403abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
404abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
405abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
406abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
407abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
408abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
409abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
410abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
411abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
412abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
413abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
414abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
415abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
416abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
417abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
418abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
419abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
420abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
421abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
422abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
423abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
424abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
425abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
426abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
427abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
428abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
429abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
430abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
431abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
432abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
433abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
434abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
435abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
436abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
437abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
438abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
439abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
440abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
441abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
442abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
443abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
444abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
445abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
446abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
447abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
448abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
449abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
450abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
451abcdefghijklmnopqrstuvwxyzABCDEFGhIJKLMNOPQRstuVWXYZ
452abcdefghijklmno</datafile>
453<grepcase regexp="ab" datafile="StartEndAlt" grepcount="4"/>
454<grepcase regexp="a*b" datafile="StartEndAlt" grepcount="10"/>
455<grepcase regexp="ab*" datafile="StartEndAlt" grepcount="15"/>
456<grepcase regexp="^user|^I|our$" datafile="StartEndAlt" grepcount="5"/>
457
458<grepcase regexp="fe|si" datafile="simple1" grepcount="3"/>
459<grepcase regexp="in" datafile="simple1" grepcount="2"/>
460<grepcase regexp="[A-Z]" datafile="simple1" grepcount="1"/>
461<grepcase regexp="fodder|simple" datafile="simple1" grepcount="2"/>
462<grepcase regexp="(?g)fodder|simple" datafile="simple1" grepcount="2"/>
463
464<grepcase regexp="[cde]{3}" datafile="bounded_charclass" grepcount="3"/>
465<grepcase regexp="[f-h]{5}" datafile="bounded_charclass" grepcount="3"/>
466<grepcase regexp="[a-z]{5}" datafile="bounded_charclass" grepcount="22"/>
467<grepcase regexp="[a-z]{5,15}" datafile="bounded_charclass" grepcount="22"/>
468<grepcase regexp="=[a-z]{7,}" datafile="bounded_charclass" grepcount="20"/>
469<grepcase regexp="=[a-z]{5,15};" datafile="bounded_charclass" grepcount="11"/>
470<grepcase regexp="(([wxy]{2}){3}){2}" datafile="bounded_charclass" grepcount="3"/>
471<grepcase regexp="(([wxy]{2}?){3}?){2}?" datafile="bounded_charclass" grepcount="3"/>
472<grepcase regexp="=([a-z][c-z])*;" datafile="bounded_charclass" grepcount="12"/>
473<grepcase regexp="[\u0061-\u007A]{6}" datafile="bounded_charclass" grepcount="21"/>
474<grepcase regexp="[\o{142}-d]{2}" datafile="bounded_charclass" grepcount="3"/>
475<grepcase regexp="[\x61-\U0000007A]{6}" datafile="bounded_charclass" grepcount="21"/>
476<grepcase regexp="(?i)[A-T]{6}" datafile="bounded_charclass" grepcount="15"/>
477<grepcase regexp="(?i)=S[A-T]S*;" datafile="bounded_charclass" grepcount="1"/>
478<grepcase regexp="=[0-9]{100};" datafile="bounded_charclass" grepcount="1"/>
479<grepcase regexp="=[0-9]{50,};" datafile="bounded_charclass" grepcount="9"/>
480<grepcase regexp="=[0-9]{140};" datafile="bounded_charclass" grepcount="1"/>
481<grepcase regexp="=[0-9a-z]{12,200};" datafile="bounded_charclass" grepcount="22"/>
482<grepcase regexp="=[0-9a-z]{200,1000};" datafile="bounded_charclass" grepcount="3"/>
483<grepcase regexp="=[0-9]{500,1000};" datafile="bounded_charclass" grepcount="1"/>
484
485
486<grepcase regexp="^D[zabcdefoy]g" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="7"/>
487<grepcase regexp="do*c|ez*t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="4"/>
488<grepcase regexp="M(az)*T" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="6"/>         
489<grepcase regexp="ez+t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="2" />
490<grepcase regexp="b([a-d]z)*t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="2"/>
491<grepcase regexp="[^D]og" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="2"/>
492<grepcase regexp="Na?t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="2"/>
493<grepcase regexp="h.t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="3" />
494<grepcase regexp="do*?c|ez*?t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="4"/>
495<grepcase regexp="^.....\b" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="6"/>
496<grepcase regexp="^\X\X\X\X\X\b" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="6"/>
497
498<grepcase regexp="[]]" datafile="special_characters" grepcount="9"/>
499<grepcase regexp="[-]" datafile="special_characters" grepcount="8"/>
500<grepcase regexp="[]^-]" datafile="special_characters" grepcount="14"/>
501<grepcase regexp="[\-\]\^]" datafile="special_characters" grepcount="14"/>
502<grepcase regexp="[^]]" datafile="special_characters" grepcount="16"/>
503<grepcase regexp="[^-]" datafile="special_characters" grepcount="15"/>
504<grepcase regexp="[^^]" datafile="special_characters" grepcount="16"/>
505<grepcase regexp="[^]-]" datafile="special_characters" grepcount="14"/>
506<grepcase regexp="[.]" datafile="special_characters" grepcount="7"/>
507
508<grepcase regexp="^((([2][5][0-5]|([2][0-4]|[1][0-9]|[0-9])?[0-9])[.]){3})([2][5][0-5]|([2][0-4]|[1][0-9]|[0-9])?[0-9])$" datafile="ips" grepcount="60"/>
509<grepcase regexp="^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.([a-zA-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)$" datafile="emails" grepcount="116"/>
510<grepcase regexp="(?g)^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.([a-zA-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)$" datafile="emails" grepcount="116"/>
511<grepcase regexp="^[-+]?([1-9]0?)+\.?((0*[1-9])+|0)([eE][-+]?([0-9]+)+)?$" datafile="floats" grepcount="26"/>
512
513<!-- . should match a unique character, even if it is 3 bytes. -->
514<grepcase regexp="'.'" datafile="LU_test" grepcount="1"/>
515<grepcase regexp="'...'" datafile="LU_test" grepcount="0"/>
516<grepcase regexp="\u{1e20}" datafile="LU_test" grepcount="1"/>
517<grepcase regexp="\u1e20" datafile="LU_test" grepcount="1"/>
518<grepcase regexp="\U00001e20" datafile="LU_test" grepcount="1"/>
519<grepcase regexp="\o{17040}" datafile="LU_test" grepcount="1"/>
520<grepcase regexp="\u{1e21}" datafile="LU_test" grepcount="0"/>
521<grepcase regexp="\u1e21" datafile="LU_test" grepcount="0"/>
522<grepcase regexp="\U00001e21" datafile="LU_test" grepcount="0"/>
523<grepcase regexp="\o{17041}" datafile="LU_test" grepcount="0"/>
524<grepcase regexp="\p{Lu}" datafile="LU_test" grepcount="2"/>
525<grepcase regexp="'\p{Lu}'" datafile="LU_test" grepcount="1"/>
526<grepcase regexp="\p{Ll}" datafile="LU_test" grepcount="1"/>
527
528
529<datafile id="codepoints">
530A line with 0x89 &#x89;
531A line with 0x1234 &#x1234;
532A line with 0x1245 &#x1245;
533䜠
534奜
535àŠ•
536àŠ•à§€
537àŠ•àŠ•à§€
538A plain line.
539</datafile>
540<grepcase regexp="[\u{1234}-\u{1245}]" datafile="codepoints" grepcount="2"/>
541<grepcase regexp="[\u{086}-\u{9A}]" datafile="codepoints" grepcount="1"/>
542<grepcase regexp="[䜠奜]" datafile="codepoints" grepcount="2"/>
543<grepcase regexp="^\u{4F60}$" datafile="codepoints" grepcount="1"/>
544<grepcase regexp="(?g)^\u{4F60}$" datafile="codepoints" grepcount="1"/> 
545<grepcase regexp="^àŠ•$" datafile="codepoints" grepcount="1"/> 
546<grepcase regexp="(?g)^àŠ•$" datafile="codepoints" grepcount="2"/>
547<grepcase regexp="^àŠ•+$" datafile="codepoints" grepcount="1"/> 
548<grepcase regexp="(?g)^àŠ•+$" datafile="codepoints" grepcount="3"/> 
549 
550<datafile id = "LineBreaking">CRLF1&#13;&#10;CRLF2&#13;&#10;CRLF3&#13;&#10;
551LS1&#x2028;LS2&#x2028;LS3&#x2028;PS1&#x2029;PS2&#x2029;PS3&#x2029;
552PS4&#x2029;CRLF4&#13;&#10;LS4&#x2028;LS5&#x2028;CRLF5&#13;&#10;LS6&#x2028;
553Unterminated</datafile>
554
555<grepcase regexp="^.*$" datafile="LineBreaking" grepcount="19"/>
556<grepcase regexp="^\X*$" datafile="LineBreaking" grepcount="19"/>
557<grepcase regexp="Unterminated$" datafile="LineBreaking" grepcount="1"/>
558<grepcase regexp="^CRLF.$" datafile="LineBreaking" grepcount="5"/>
559<grepcase regexp="LS[0-9]*" datafile="LineBreaking" grepcount="6"/>
560<grepcase regexp="PS" datafile="LineBreaking" grepcount="4"/>
561 
562<grepcase regexp="[a-z]{20}" datafile="4KiB-onepage" grepcount="77"/>
563<grepcase regexp="[a-z]{15}" datafile="4KiB-onepage" grepcount="78"/>
564</greptest>
Note: See TracBrowser for help on using the repository browser.