]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/regex/doc/html/boost_regex/ref/error_type.html
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / regex / doc / html / boost_regex / ref / error_type.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>error_type</title>
5 <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
7 <link rel="home" href="../../index.html" title="Boost.Regex 5.1.2">
8 <link rel="up" href="../ref.html" title="Reference">
9 <link rel="prev" href="match_flag_type.html" title="match_flag_type">
10 <link rel="next" href="regex_traits.html" title="regex_traits">
11 </head>
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
15 <td align="center"><a href="../../../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../../../more/index.htm">More</a></td>
20 </tr></table>
21 <hr>
22 <div class="spirit-nav">
23 <a accesskey="p" href="match_flag_type.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="regex_traits.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
24 </div>
25 <div class="section">
26 <div class="titlepage"><div><div><h3 class="title">
27 <a name="boost_regex.ref.error_type"></a><a class="link" href="error_type.html" title="error_type">error_type</a>
28 </h3></div></div></div>
29 <h5>
30 <a name="boost_regex.ref.error_type.h0"></a>
31 <span class="phrase"><a name="boost_regex.ref.error_type.synopsis"></a></span><a class="link" href="error_type.html#boost_regex.ref.error_type.synopsis">Synopsis</a>
32 </h5>
33 <p>
34 Type error type represents the different types of errors that can be raised
35 by the library when parsing a regular expression.
36 </p>
37 <pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">regex_constants</span><span class="special">{</span>
38
39 <span class="keyword">typedef</span> <span class="identifier">implementation</span><span class="special">-</span><span class="identifier">specific</span><span class="special">-</span><span class="identifier">type</span> <span class="identifier">error_type</span><span class="special">;</span>
40
41 <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">error_type</span> <span class="identifier">error_collate</span><span class="special">;</span>
42 <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">error_type</span> <span class="identifier">error_ctype</span><span class="special">;</span>
43 <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">error_type</span> <span class="identifier">error_escape</span><span class="special">;</span>
44 <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">error_type</span> <span class="identifier">error_backref</span><span class="special">;</span>
45 <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">error_type</span> <span class="identifier">error_brack</span><span class="special">;</span>
46 <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">error_type</span> <span class="identifier">error_paren</span><span class="special">;</span>
47 <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">error_type</span> <span class="identifier">error_brace</span><span class="special">;</span>
48 <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">error_type</span> <span class="identifier">error_badbrace</span><span class="special">;</span>
49 <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">error_type</span> <span class="identifier">error_range</span><span class="special">;</span>
50 <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">error_type</span> <span class="identifier">error_space</span><span class="special">;</span>
51 <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">error_type</span> <span class="identifier">error_badrepeat</span><span class="special">;</span>
52 <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">error_type</span> <span class="identifier">error_complexity</span><span class="special">;</span>
53 <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">error_type</span> <span class="identifier">error_stack</span><span class="special">;</span>
54 <span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">error_type</span> <span class="identifier">error_bad_pattern</span><span class="special">;</span>
55
56 <span class="special">}</span> <span class="comment">// namespace regex_constants</span>
57 <span class="special">}</span> <span class="comment">// namespace boost</span>
58 </pre>
59 <h5>
60 <a name="boost_regex.ref.error_type.h1"></a>
61 <span class="phrase"><a name="boost_regex.ref.error_type.description"></a></span><a class="link" href="error_type.html#boost_regex.ref.error_type.description">Description</a>
62 </h5>
63 <p>
64 The type <code class="computeroutput"><span class="identifier">error_type</span></code> is an
65 implementation-specific enumeration type that may take one of the following
66 values:
67 </p>
68 <div class="informaltable"><table class="table">
69 <colgroup>
70 <col>
71 <col>
72 </colgroup>
73 <thead><tr>
74 <th>
75 <p>
76 Constant
77 </p>
78 </th>
79 <th>
80 <p>
81 Meaning
82 </p>
83 </th>
84 </tr></thead>
85 <tbody>
86 <tr>
87 <td>
88 <p>
89 error_collate
90 </p>
91 </td>
92 <td>
93 <p>
94 An invalid collating element was specified in a [[.name.]] block.
95 </p>
96 </td>
97 </tr>
98 <tr>
99 <td>
100 <p>
101 error_ctype
102 </p>
103 </td>
104 <td>
105 <p>
106 An invalid character class name was specified in a [[:name:]] block.
107 </p>
108 </td>
109 </tr>
110 <tr>
111 <td>
112 <p>
113 error_escape
114 </p>
115 </td>
116 <td>
117 <p>
118 An invalid or trailing escape was encountered.
119 </p>
120 </td>
121 </tr>
122 <tr>
123 <td>
124 <p>
125 error_backref
126 </p>
127 </td>
128 <td>
129 <p>
130 A back-reference to a non-existant marked sub-expression was encountered.
131 </p>
132 </td>
133 </tr>
134 <tr>
135 <td>
136 <p>
137 error_brack
138 </p>
139 </td>
140 <td>
141 <p>
142 An invalid character set [...] was encountered.
143 </p>
144 </td>
145 </tr>
146 <tr>
147 <td>
148 <p>
149 error_paren
150 </p>
151 </td>
152 <td>
153 <p>
154 Mismatched '(' and ')'.
155 </p>
156 </td>
157 </tr>
158 <tr>
159 <td>
160 <p>
161 error_brace
162 </p>
163 </td>
164 <td>
165 <p>
166 Mismatched '{' and '}'.
167 </p>
168 </td>
169 </tr>
170 <tr>
171 <td>
172 <p>
173 error_badbrace
174 </p>
175 </td>
176 <td>
177 <p>
178 Invalid contents of a {...} block.
179 </p>
180 </td>
181 </tr>
182 <tr>
183 <td>
184 <p>
185 error_range
186 </p>
187 </td>
188 <td>
189 <p>
190 A character range was invalid, for example [d-a].
191 </p>
192 </td>
193 </tr>
194 <tr>
195 <td>
196 <p>
197 error_space
198 </p>
199 </td>
200 <td>
201 <p>
202 Out of memory.
203 </p>
204 </td>
205 </tr>
206 <tr>
207 <td>
208 <p>
209 error_badrepeat
210 </p>
211 </td>
212 <td>
213 <p>
214 An attempt to repeat something that can not be repeated - for example
215 a*+
216 </p>
217 </td>
218 </tr>
219 <tr>
220 <td>
221 <p>
222 error_complexity
223 </p>
224 </td>
225 <td>
226 <p>
227 The expression became too complex to handle.
228 </p>
229 </td>
230 </tr>
231 <tr>
232 <td>
233 <p>
234 error_stack
235 </p>
236 </td>
237 <td>
238 <p>
239 Out of program stack space.
240 </p>
241 </td>
242 </tr>
243 <tr>
244 <td>
245 <p>
246 error_bad_pattern
247 </p>
248 </td>
249 <td>
250 <p>
251 Other unspecified errors.
252 </p>
253 </td>
254 </tr>
255 </tbody>
256 </table></div>
257 </div>
258 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
259 <td align="left"></td>
260 <td align="right"><div class="copyright-footer">Copyright &#169; 1998-2013 John Maddock<p>
261 Distributed under the Boost Software License, Version 1.0. (See accompanying
262 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
263 </p>
264 </div></td>
265 </tr></table>
266 <hr>
267 <div class="spirit-nav">
268 <a accesskey="p" href="match_flag_type.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="regex_traits.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
269 </div>
270 </body>
271 </html>