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

Contents of /code/trunk/testdata/testinput10

Parent Directory Parent Directory | Revision Log Revision Log


Revision 518 - (show annotations)
Tue May 18 15:47:01 2010 UTC (9 years, 3 months ago) by ph10
File size: 2647 byte(s)
Added PCRE_UCP and related stuff to make \w etc use Unicode properties.
1 /-- These are a few representative patterns whose lengths and offsets are to be
2 shown when the link size is 2. This is just a doublecheck test to ensure the
3 sizes don't go horribly wrong when something is changed. The pattern contents
4 are all themselves checked in other tests. Unicode, including property support,
5 is required for these tests. --/
6
7 /((?i)b)/BM
8
9 /(?s)(.*X|^B)/BM
10
11 /(?s:.*X|^B)/BM
12
13 /^[[:alnum:]]/BM
14
15 /#/IxMD
16
17 /a#/IxMD
18
19 /x?+/BM
20
21 /x++/BM
22
23 /x{1,3}+/BM
24
25 /(x)*+/BM
26
27 /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/BM
28
29 |8J\$WE\<\.rX\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|BM
30
31 |\$\<\.X\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|BM
32
33 /(a(?1)b)/BM
34
35 /(a(?1)+b)/BM
36
37 /a(?P<name1>b|c)d(?P<longername2>e)/BM
38
39 /(?:a(?P<c>c(?P<d>d)))(?P<a>a)/BM
40
41 /(?P<a>a)...(?P=a)bbb(?P>a)d/BM
42
43 /abc(?C255)de(?C)f/BM
44
45 /abcde/CBM
46
47 /\x{100}/8BM
48
49 /\x{1000}/8BM
50
51 /\x{10000}/8BM
52
53 /\x{100000}/8BM
54
55 /\x{1000000}/8BM
56
57 /\x{4000000}/8BM
58
59 /\x{7fffFFFF}/8BM
60
61 /[\x{ff}]/8BM
62
63 /[\x{100}]/8BM
64
65 /\x80/8BM
66
67 /\xff/8BM
68
69 /\x{0041}\x{2262}\x{0391}\x{002e}/D8M
70
71 /\x{D55c}\x{ad6d}\x{C5B4}/D8M
72
73 /\x{65e5}\x{672c}\x{8a9e}/D8M
74
75 /[\x{100}]/8BM
76
77 /[Z\x{100}]/8BM
78
79 /^[\x{100}\E-\Q\E\x{150}]/B8M
80
81 /^[\QĀ\E-\QŐ\E]/B8M
82
83 /^[\QĀ\E-\QŐ\E/B8M
84
85 /[\p{L}]/BM
86
87 /[\p{^L}]/BM
88
89 /[\P{L}]/BM
90
91 /[\P{^L}]/BM
92
93 /[abc\p{L}\x{0660}]/8BM
94
95 /[\p{Nd}]/8BM
96
97 /[\p{Nd}+-]+/8BM
98
99 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8iBM
100
101 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8BM
102
103 /[\x{105}-\x{109}]/8iBM
104
105 /( ( (?(1)0|) )* )/xBM
106
107 /( (?(1)0|)* )/xBM
108
109 /[a]/BM
110
111 /[a]/8BM
112
113 /[\xaa]/BM
114
115 /[\xaa]/8BM
116
117 /[^a]/BM
118
119 /[^a]/8BM
120
121 /[^\xaa]/BM
122
123 /[^\xaa]/8BM
124
125 /[^\d]/8WB
126
127 /[[:^alpha:][:^cntrl:]]+/8WB
128
129 /[[:^cntrl:][:^alpha:]]+/8WB
130
131 /[[:alpha:]]+/8WB
132
133 /[[:^alpha:]\S]+/8WB
134
135 /-- End of testinput10 --/

  ViewVC Help
Powered by ViewVC 1.1.5