/[pcre]/code/branches/pcre16/testdata/testoutput14
ViewVC logotype

Contents of /code/branches/pcre16/testdata/testoutput14

Parent Directory Parent Directory | Revision Log Revision Log


Revision 814 - (show annotations)
Wed Dec 21 12:05:24 2011 UTC (8 years, 5 months ago) by ph10
File size: 2103 byte(s)
Reorganized the tests and made many more work in 16-bit mode.
1 /-- This set of tests is run only with the 8-bit library. It starts with all
2 the tests of the POSIX interface, because that is supported only with the
3 8-bit library. --/
4
5 /abc/P
6 abc
7 0: abc
8 *** Failers
9 No match: POSIX code 17: match failed
10
11 /^abc|def/P
12 abcdef
13 0: abc
14 abcdef\B
15 0: def
16
17 /.*((abc)$|(def))/P
18 defabc
19 0: defabc
20 1: abc
21 2: abc
22 \Zdefabc
23 0: def
24 1: def
25 3: def
26
27 /the quick brown fox/P
28 the quick brown fox
29 0: the quick brown fox
30 *** Failers
31 No match: POSIX code 17: match failed
32 The Quick Brown Fox
33 No match: POSIX code 17: match failed
34
35 /the quick brown fox/Pi
36 the quick brown fox
37 0: the quick brown fox
38 The Quick Brown Fox
39 0: The Quick Brown Fox
40
41 /abc.def/P
42 *** Failers
43 No match: POSIX code 17: match failed
44 abc\ndef
45 No match: POSIX code 17: match failed
46
47 /abc$/P
48 abc
49 0: abc
50 abc\n
51 0: abc
52
53 /(abc)\2/P
54 Failed: POSIX code 15: bad back reference at offset 7
55
56 /(abc\1)/P
57 abc
58 No match: POSIX code 17: match failed
59
60 /a*(b+)(z)(z)/P
61 aaaabbbbzzzz
62 0: aaaabbbbzz
63 1: bbbb
64 2: z
65 3: z
66 aaaabbbbzzzz\O0
67 aaaabbbbzzzz\O1
68 0: aaaabbbbzz
69 aaaabbbbzzzz\O2
70 0: aaaabbbbzz
71 1: bbbb
72 aaaabbbbzzzz\O3
73 0: aaaabbbbzz
74 1: bbbb
75 2: z
76 aaaabbbbzzzz\O4
77 0: aaaabbbbzz
78 1: bbbb
79 2: z
80 3: z
81 aaaabbbbzzzz\O5
82 0: aaaabbbbzz
83 1: bbbb
84 2: z
85 3: z
86
87 /ab.cd/P
88 ab-cd
89 0: ab-cd
90 ab=cd
91 0: ab=cd
92 ** Failers
93 No match: POSIX code 17: match failed
94 ab\ncd
95 No match: POSIX code 17: match failed
96
97 /ab.cd/Ps
98 ab-cd
99 0: ab-cd
100 ab=cd
101 0: ab=cd
102 ab\ncd
103 0: ab\x0acd
104
105 /a(b)c/PN
106 abc
107 Matched with REG_NOSUB
108
109 /a(?P<name>b)c/PN
110 abc
111 Matched with REG_NOSUB
112
113 /a?|b?/P
114 abc
115 0: a
116 ** Failers
117 0:
118 ddd\N
119 No match: POSIX code 17: match failed
120
121 /\w+A/P
122 CDAAAAB
123 0: CDAAAA
124
125 /\w+A/PU
126 CDAAAAB
127 0: CDA
128
129 /-- End of POSIX tests --/
130
131 /a\Cb/
132 aXb
133 0: aXb
134 a\nb
135 0: a\x0ab
136 ** Failers (too big char)
137 No match
138 A\x{123}B
139 ** Character \x{123} is greater than 255 and UTF-8 mode is not enabled.
140 ** Truncation will probably give the wrong result.
141 No match
142
143 /-- End of testinput14 --/

  ViewVC Help
Powered by ViewVC 1.1.5