Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/spirit/doc/quickref.html @ 33

Last change on this file since 33 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

File size: 28.6 KB
Line 
1<html>
2
3<head>
4<title>Quick Reference</title>
5<link rel="stylesheet" href="theme/style.css" type="text/css">
6</head>
7
8<body>
9<table width="100%" border="0" background="theme/bkd2.gif" cellspacing="2">
10  <tr> 
11    <td width="10"> </td>
12    <td width="85%"> <font size="6" face="Verdana, Arial, Helvetica, sans-serif"><b>Quick
13      Reference </b></font></td>
14    <td width="112"><a href="http://spirit.sf.net"><img src="theme/spirit.gif" width="112" height="48" align="right" border="0"></a></td>
15  </tr>
16</table>
17<br>
18<table border="0">
19  <tr> 
20    <td width="10"></td>
21    <td width="30"><a href="../index.html"><img src="theme/u_arr.gif" border="0"></a></td>
22    <td width="30"><a href="error_handling.html"><img src="theme/l_arr.gif" border="0"></a></td>
23    <td width="30"><a href="includes.html"><img src="theme/r_arr.gif" border="0"></a></td>
24  </tr>
25</table>
26<p>This isn't intended to be a full, detailed reference; nor is it intended to
27  be of any use to readers who aren't already familiar with Spirit. It's just
28  a brief reminder of the syntax and behaviour of each component, with links to
29  the full documentation. </p>
30<ul>
31  <li><strong>Primitive parser generators</strong> <i>(action arguments are listed
32    on the right)</i> 
33    <ul>
34      <li><a href="quickref.html#null_parsers">Null parsers</a></li>
35      <li><a href="quickref.html#character_parsers">Character parsers</a></li>
36      <li><a href="quickref.html#number_parsers">Number parsers</a></li>
37      <li><a href="quickref.html#otherlexeme_parsers">Other lexeme parsers</a></li>
38      <li><a href="quickref.html#text_parsers">Text parsers</a><br>
39        <br>
40      </li>
41    </ul>
42  </li>
43  <li><strong>Other parser elements</strong> 
44    <ul>
45      <li><a href="quickref.html#compound_parsers">Compound parsers</a></li>
46      <li><a href="quickref.html#general_directives">General directives</a></li>
47      <li><a href="quickref.html#tree_specific_directives">Tree-specific directives</a><br>
48        <br>
49      </li>
50    </ul>
51  </li>
52  <li><strong>Operators</strong> 
53    <ul>
54      <li><a href="quickref.html#unary_operators">Unary operators</a></li>
55      <li><a href="quickref.html#binary_operators">Binary operators</a> <i>(in order of precedence)<br>
56        </i></li>
57    </ul>
58  </li>
59</ul>
60
61<table>
62
63    <tr>
64
65        <td valign="top">
66
67            <table>
68
69                <tr>
70                    <td class="table_title" colspan="3" id="null_parsers"><a name="null_parsers"></a>Null parsers</td>
71                </tr>
72                <tr>
73                    <td class="table_cells"><code><a href="primitives.html">end_p</a></code></td>
74                    <td class="table_cells">Matches EOF</td>
75                    <td class="table_cells"><i>iter,iter</i></td>
76                </tr>
77                <tr>
78                    <td class="table_cells"><code><a href="primitives.html">eps_p</a><br />
79            <a href="primitives.html">eps_p</a>(P)</code></td>
80                    <td class="table_cells">Matches without consuming text</td>
81                    <td class="table_cells"><i>iter,iter</i></td>
82                </tr>
83                <tr>
84                    <td class="table_cells"><code><a href="primitives.html">epsilon_p</a><br />
85            <a href="primitives.html">epsilon_p</a>(P)</code></td>
86                    <td class="table_cells">Synonym for <b>eps_p</b></td>
87                    <td class="table_cells"><i>iter,iter</i></td>
88                </tr>
89                <tr>
90                    <td class="table_cells"><code><a href="primitives.html">nothing_p</a></code></td>
91                    <td class="table_cells">Always fails</td>
92                    <td class="table_cells"><i>iter,iter</i></td>
93                </tr>
94
95                <tr>
96                    <td class="table_title" colspan="3" id="character_parsers"><a name="character_parsers" id="character_parsers"></a>Character parsers</td>
97                </tr>
98                <tr>
99                    <td class="table_cells"><code><a href="primitives.html">alnum_p</a></code></td>
100                    <td class="table_cells">Matches any alphanumeric character</td>
101                    <td class="table_cells"><i>char</i></td>
102                </tr>
103                <tr>
104                    <td class="table_cells"><code><a href="primitives.html">alpha_p</a></code></td>
105                    <td class="table_cells">Matches any letter</td>
106                    <td class="table_cells"><i>char</i></td>
107                </tr>
108                <tr>
109                    <td class="table_cells"><code><a href="primitives.html">anychar_p</a></code></td>
110                    <td class="table_cells">Matches any character</td>
111                    <td class="table_cells"><i>char</i></td>
112                </tr>
113                <tr>
114                    <td class="table_cells"><code><a href="primitives.html">blank_p</a></code></td>
115                    <td class="table_cells">Matches a space or tab</td>
116                    <td class="table_cells"><i>char</i></td>
117                </tr>
118                <tr>
119                   
120          <td class="table_cells"><code><a href="primitives.html">ch_p</a>(char)</code></td>
121                    <td class="table_cells">Matches a character</td>
122                    <td class="table_cells"><i>char</i></td>
123                </tr>
124                <tr>
125                   
126          <td class="table_cells"><code><a href="character_sets.html">chset_p</a>(charset)</code></td>
127                    <td class="table_cells">Matches a character in the set</td>
128                    <td class="table_cells"><i>char</i></td>
129                </tr>
130                <tr>
131                    <td class="table_cells"><code><a href="primitives.html">cntrl_p</a></code></td>
132                    <td class="table_cells">Matches any control character</td>
133                    <td class="table_cells"><i>char</i></td>
134                </tr>
135                <tr>
136                    <td class="table_cells"><code><a href="primitives.html">digit_p</a></code></td>
137                    <td class="table_cells">Matches any digit</td>
138                    <td class="table_cells"><i>char</i></td>
139                </tr>
140                <tr>
141                   
142          <td class="table_cells"><code><a href="parametric_parsers.html">f_ch_p</a>(func)</code></td>
143                    <td class="table_cells">Matches a character</td>
144                    <td class="table_cells"><i>char</i></td>
145                </tr>
146                <tr>
147                   
148          <td class="table_cells"><code><a href="parametric_parsers.html">f_range_p</a>(func1,
149            func2)</code></td>
150                    <td class="table_cells">Matches any character in the inclusive range</td>
151                    <td class="table_cells"><i>char</i></td>
152                </tr>
153                <tr>
154                    <td class="table_cells"><code><a href="primitives.html">graph_p</a></code></td>
155                    <td class="table_cells">Matches any non-space printable character</td>
156                    <td class="table_cells"><i>char</i></td>
157                </tr>
158                <tr>
159                    <td class="table_cells"><code><a href="primitives.html">lower_p</a></code></td>
160                    <td class="table_cells">Matches any lower-case letter</td>
161                    <td class="table_cells"><i>char</i></td>
162                </tr>
163                <tr>
164                    <td class="table_cells"><code><a href="primitives.html">print_p</a></code></td>
165                    <td class="table_cells">Matches any printable character</td>
166                    <td class="table_cells"><i>char</i></td>
167                </tr>
168                <tr>
169                    <td class="table_cells"><code><a href="primitives.html">punct_p</a></code></td>
170                    <td class="table_cells">Matches any punctuation mark</td>
171                    <td class="table_cells"><i>char</i></td>
172                </tr>
173                <tr>
174                   
175          <td class="table_cells"><code><a href="primitives.html">range_p</a>(char1,
176            char2)</code></td>
177                    <td class="table_cells">Matches any character in the inclusive range</td>
178                    <td class="table_cells"><i>char</i></td>
179                </tr>
180                <tr>
181                    <td class="table_cells"><code><a href="numerics.html">sign_p</a></code></td>
182                    <td class="table_cells">Matches a plus or minus sign</td>
183                    <td class="table_cells"><i>bool</i></td>
184                </tr>
185                <tr>
186                    <td class="table_cells"><code><a href="primitives.html">space_p</a></code></td>
187                    <td class="table_cells">Matches any whitespace character</td>
188                    <td class="table_cells"><i>char</i></td>
189                </tr>
190                <tr>
191                    <td class="table_cells"><code><a href="primitives.html">upper_p</a></code></td>
192                    <td class="table_cells">Matches any upper-case letter</td>
193                    <td class="table_cells"><i>char</i></td>
194                </tr>
195                <tr>
196                    <td class="table_cells"><code><a href="primitives.html">xdigit_p</a></code></td>
197                    <td class="table_cells">Matches any hexadecimal digit</td>
198                    <td class="table_cells"><i>char</i></td>
199                </tr>
200
201                <tr>
202                    <td class="table_title" colspan="3" id="number_parsers"><a name="number_parsers"></a>Number parsers</td>
203                </tr>
204                <tr>
205                    <td class="table_cells"><code><a href="numerics.html">bin_p</a></code></td>
206                    <td class="table_cells">Matches an unsigned binary integer</td>
207                    <td class="table_cells"><i>numeric</i></td>
208                </tr>
209                <tr>
210                    <td class="table_cells"><code><a href="numerics.html">hex_p</a></code></td>
211                    <td class="table_cells">Matches an unsigned hexadecimal integer</td>
212                    <td class="table_cells"><i>numeric</i></td>
213                </tr>
214                <tr>
215                    <td class="table_cells"><code><a href="numerics.html">int_p</a></code></td>
216                    <td class="table_cells">Matches a signed decimal integer</td>
217                    <td class="table_cells"><i>numeric</i></td>
218                </tr>
219                <tr>
220                   
221          <td class="table_cells"><code><a href="numerics.html">int_parser</a>&lt;type,
222            base, min, max&gt;</code></td>
223                    <td class="table_cells">Matches a signed integer with <b>min</b> to <b>max</b> digits</td>
224                    <td class="table_cells"><i>numeric</i></td>
225                </tr>
226                <tr>
227                    <td class="table_cells"><code><a href="numerics.html">oct_p</a></code></td>
228                    <td class="table_cells">Matches an unsigned octal integer</td>
229                    <td class="table_cells"><i>numeric</i></td>
230                </tr>
231                <tr>
232                    <td class="table_cells"><code><a href="numerics.html">real_p</a></code></td>
233                    <td class="table_cells">Matches a floating point number</td>
234                    <td class="table_cells"><i>numeric</i></td>
235                </tr>
236                <tr>
237                   
238          <td class="table_cells"><code><a href="numerics.html">real_parser</a>&lt;type,
239            policy&gt;</code></td>
240                    <td class="table_cells">Matches a floating point number</td>
241                    <td class="table_cells"><i>numeric</i></td>
242                </tr>
243                <tr>
244                    <td class="table_cells"><code><a href="numerics.html">strict_real_p</a></code></td>
245                    <td class="table_cells">Matches a floating point number (requires decimal point)</td>
246                    <td class="table_cells"><i>numeric</i></td>
247                </tr>
248                <tr>
249                    <td class="table_cells"><code><a href="numerics.html">strict_ureal_p</a></code></td>
250                    <td class="table_cells">Matches an unsigned FP number (requires decimal point)</td>
251                    <td class="table_cells"><i>numeric</i></td>
252                </tr>
253                <tr>
254                    <td class="table_cells"><code><a href="numerics.html">uint_p</a></code></td>
255                    <td class="table_cells">Matches an unsigned decimal integer</td>
256                    <td class="table_cells"><i>numeric</i></td>
257                </tr>
258                <tr>
259                   
260          <td class="table_cells"><code><a href="numerics.html">uint_parser</a>&lt;type,
261            base, min, max&gt;</code></td>
262                    <td class="table_cells">Matches an unsigned integer with <b>min</b> to <b>max</b> digits</td>
263                    <td class="table_cells"><i>numeric</i></td>
264                </tr>
265                <tr>
266                    <td class="table_cells"><code><a href="numerics.html">ureal_p</a></code></td>
267                    <td class="table_cells">Matches an unsigned FP number</td>
268                    <td class="table_cells"><i>numeric</i></td>
269                </tr>
270
271                <tr>
272                    <td class="table_title" colspan="3" id="other_lexeme_parsers"><a name="otherlexeme_parsers"></a>Other lexeme parsers</td>
273                </tr>
274                <tr>
275                    <td class="table_cells"><code><a href="escape_char_parser.html">c_escape_ch_p</a></code></td>
276                    <td class="table_cells">Matches a C escape code</td>
277                    <td class="table_cells"><i>char</i></td>
278                </tr>
279                <tr>
280                   
281          <td class="table_cells"><code><a href="confix.html">comment_p</a>(string)<br />
282            <a href="confix.html">comment_p</a> (string1, string2)</code></td>
283                    <td class="table_cells">Matches C++ or C-style comments</td>
284                    <td class="table_cells"><i>iter,iter</i></td>
285                </tr>
286                <tr>
287                    <td class="table_cells"><code><a href="primitives.html">eol_p</a></code></td>
288                    <td class="table_cells">Matches CR, LF, or any combination</td>
289                    <td class="table_cells"><i>iter,iter</i></td>
290                </tr>
291                <tr>
292                   
293          <td class="table_cells"><code><a href="parametric_parsers.html">f_str_p</a>(func1,
294            func2)</code></td>
295                    <td class="table_cells">Matches a string</td>
296                    <td class="table_cells"><i>iter,iter</i></td>
297                </tr>
298                <tr>
299                    <td class="table_cells"><code><a href="escape_char_parser.html">lex_escape_ch_p</a></code></td>
300                    <td class="table_cells">Matches a C escape code or any backslash escape</td>
301                    <td class="table_cells"><i>char</i></td>
302                </tr>
303                <tr>
304                   
305          <td class="table_cells"><code><a href="regular_expression_parser.html">regex_p</a>(regex)</code></td>
306                    <td class="table_cells">Matches a regular expression</td>
307                    <td class="table_cells"><i>iter,iter</i></td>
308                </tr>
309                <tr>
310                   
311          <td class="table_cells"><code><a href="primitives.html">str_p</a>(string)<br />
312            <a href="primitives.html">str_p</a>(iter1, iter2)</code></td>
313                    <td class="table_cells">Matches a string</td>
314                    <td class="table_cells"><i>iter,iter</i></td>
315                </tr>
316
317                <tr>
318                    <td class="table_title" colspan="3" id="text_parsers"><a name="text_parsers"></a>Text parsers</td>
319                </tr>
320                <tr>
321                   
322          <td class="table_cells"><code><a href="primitives.html">chseq_p</a>(string)<br />
323            <a href="primitives.html">chseq_p</a>(iter1, iter2)</code></td>
324                    <td class="table_cells">Matches a string, possibly with embedded whitespace</td>
325                    <td class="table_cells"><i>iter,iter</i></td>
326                </tr>
327                <tr>
328                   
329          <td class="table_cells"><code><a href="parametric_parsers.html">f_chseq_p</a>(func1,
330            func2)</code></td>
331                    <td class="table_cells">Matches a string, possibly with embedded whitespace</td>
332                    <td class="table_cells"><i>iter,iter</i></td>
333                </tr>
334
335            </table>
336
337        </td>
338
339        <td width="10">&nbsp;</td>
340
341        <td valign="top">
342
343            <table>
344
345                <tr>
346                    <td class="table_title" colspan="2" id="compound_parsers"><a name="compound_parsers"></a>Compound parsers</td>
347                </tr>
348                <tr>
349                   
350          <td class="table_cells"><code><a href="confix.html">confix_p</a>(open,
351            exp, close)</code></td>
352                    <td class="table_cells">Matches <b>open &gt;&gt; (exp - close) &gt;&gt; close</b></td>
353                </tr>
354                <tr>
355                   
356          <td class="table_cells"><code><a href="dynamic_parsers.html">do_p</a>[P].<a href="dynamic_parsers.html">while_p</a>(cond)</code></td>
357                    <td class="table_cells">Matches while a condition is true (at least once)</td>
358                </tr>
359                <tr>
360                   
361          <td class="table_cells"><code><a href="dynamic_parsers.html">for_p</a>(init,
362            cond, step)[P]</code></td>
363                    <td class="table_cells">Matches in a loop</td>
364                </tr>
365                <tr>
366                   
367          <td class="table_cells"><code><a href="functor_parser.html">functor_parser</a>&lt;func&gt;</code></td>
368                    <td class="table_cells">Wraps an external parser</td>
369                </tr>
370                <tr>
371                   
372          <td class="table_cells"><code><a href="dynamic_parsers.html">if_p</a>(cond)[P]<br />
373            <a href="dynamic_parsers.html">if_p</a>(cond)[P].<a href="dynamic_parsers.html">else_p</a>[P]</code></td>
374                    <td class="table_cells">Matches depending on a condition</td>
375                </tr>
376                <tr>
377                   
378          <td class="table_cells"><code><a href="the_lazy_parser.html">lazy_p</a>(P)</code></td>
379                    <td class="table_cells">Evaluates a parser at run time</td>
380                </tr>
381                <tr>
382                    <td class="table_cells"><code><a href="list_parsers.html">list_p</a> <br />
383            <a href="list_parsers.html">list_p</a>(del)<br />
384            <a href="list_parsers.html">list_p</a>(item, del)<br />
385            <a href="list_parsers.html">list_p</a>(item, del, end)</code></td>
386                    <td class="table_cells">Matches a delimited list</td>
387                </tr>
388                <tr>
389                   
390          <td class="table_cells"><code><a href="loops.html">repeat_p</a>(num)[P]<br />
391            <a href="loops.html">repeat_p</a>(min, max)[P]<br />
392            <a href="loops.html">repeat_p</a>(min, <a href="loops.html">more</a>)[P]</code></td>
393                    <td class="table_cells">Matches multiple times</td>
394                </tr>
395                <tr>
396                    <td class="table_cells"><code><a href="dynamic_parsers.html">while_p</a> (cond) [P]</code></td>
397                    <td class="table_cells">Matches while a condition is true</td>
398                </tr>
399
400                <tr>
401                    <td class="table_title" colspan="2" id="general_directives"><a name="general_directives"></a>General directives</td>
402                </tr>
403                <tr>
404                   
405          <td class="table_cells"><code><a href="directives.html">as_lower_d</a>[P]</code></td>
406                    <td class="table_cells">Converts text to lower case before matching</td>
407                </tr>
408                <tr>
409                   
410          <td class="table_cells"><code><a href="refactoring.html">attach_action_d</a>[(P1
411            op P2)[act]]</code></td>
412                    <td class="table_cells">Transforms to <b>P1 [act] op P2 [act]</b></td>
413                </tr>
414                <tr>
415                   
416          <td class="table_cells"><code><a href="directives.html">lexeme_d</a>[P]</code></td>
417                    <td class="table_cells">Turns off whitespace skipping</td>
418                </tr>
419                <tr>
420                   
421          <td class="table_cells"><code><a href="directives.html">limit_d</a>[P](min,
422            max)</code></td>
423                    <td class="table_cells">Matches only if the value is within the range</td>
424                </tr>
425                <tr>
426                   
427          <td class="table_cells"><code><a href="directives.html">longest_d</a>[P]</code></td>
428                    <td class="table_cells">Matches the longest of alternatives</td>
429                </tr>
430                <tr>
431                   
432          <td class="table_cells"><code><a href="directives.html">max_limit_d</a>[P](max)</code></td>
433                    <td class="table_cells">Matches only if <b>value &lt;= max</b></td>
434                </tr>
435                <tr>
436                   
437          <td class="table_cells"><code><a href="directives.html">min_limit_d</a>[P](min)</code></td>
438                    <td class="table_cells">Matches only if <b>value &gt;= min</b></td>
439                </tr>
440                <tr>
441                   
442          <td class="table_cells"><code><a href="refactoring.html">refactor_action_d</a>[P1
443            [act] op P2]</code></td>
444                    <td class="table_cells">Transforms to <b>(P1 op P2) [act]</b></td>
445                </tr>
446                <tr>
447                   
448          <td class="table_cells"><code><a href="refactoring.html">refactor_unary_d</a>[op1
449            P1 op2 P2]</code></td>
450                    <td class="table_cells">Transforms to <b>op1 (P1 op2 P2)</b></td>
451                </tr>
452                <tr>
453                   
454          <td class="table_cells"><code><a href="scoped_lock.html">scoped_lock_d</a>[P](mutex)</code></td>
455                    <td class="table_cells">Locks a mutex while matching</td>
456                </tr>
457                <tr>
458                   
459          <td class="table_cells"><code><a href="directives.html">shortest_d</a>[P]</code></td>
460                    <td class="table_cells">Matches the shortest of alternatives</td>
461                </tr>
462
463                <tr>
464                    <td class="table_title" colspan="2" id="tree_specific_directives"><a name="tree_specific_directives"></a>Tree-specific directives</td>
465                </tr>
466                <tr>
467                   
468          <td class="table_cells"><code><a href="trees.html">access_node_d</a>[P]</code></td>
469                    <td class="table_cells">Passes node value to action</td>
470                </tr>
471                <tr>
472                   
473          <td class="table_cells"><code><a href="trees.html">discard_first_node_d</a>[P]</code></td>
474                    <td class="table_cells">Discards first node</td>
475                </tr>
476                <tr>
477                   
478          <td class="table_cells"><code><a href="trees.html">discard_last_node_d</a>[P]</code></td>
479                    <td class="table_cells">Discards last node</td>
480                </tr>
481                <tr>
482                   
483          <td class="table_cells"><code><a href="trees.html">discard_node_d</a>[P]</code></td>
484                    <td class="table_cells">Discards the generated node</td>
485                </tr>
486                <tr>
487                   
488          <td class="table_cells"><code><a href="trees.html">infix_node_d</a>[P]</code></td>
489                    <td class="table_cells">Discards even-position nodes</td>
490                </tr>
491                <tr>
492                   
493          <td class="table_cells"><code><a href="trees.html">inner_node_d</a>[P]</code></td>
494                    <td class="table_cells">Discards first and last nodes</td>
495                </tr>
496                <tr>
497                   
498          <td class="table_cells"><code><a href="trees.html">leaf_node_d</a>[P]</code></td>
499                    <td class="table_cells">Generates a single node with no children</td>
500                </tr>
501                <tr>
502                   
503          <td class="table_cells"><code><a href="trees.html">no_node_d</a>[P]</code></td>
504                    <td class="table_cells">Does not generate a node</td>
505                </tr>
506                <tr>
507                   
508          <td class="table_cells"><code><a href="trees.html">root_node_d</a>[P]</code></td>
509                    <td class="table_cells">Identifies root nodes for an AST</td>
510                </tr>
511                <tr>
512                   
513          <td class="table_cells"><code><a href="trees.html">token_node_d</a>[P]</code></td>
514                    <td class="table_cells">Synonym for <b>leaf_node_d</b></td>
515                </tr>
516
517                <tr>
518                    <td class="table_title" colspan="2" id="unary_operators"><a name="unary_operators"></a>Unary operators</td>
519                </tr>
520                <tr>
521                   
522          <td class="table_cells"><code><a href="operators.html">!P</a></code></td>
523                    <td class="table_cells">Matches <b>P</b> or an empty string</td>
524                </tr>
525                <tr>
526                   
527          <td class="table_cells"><code><a href="operators.html">*P</a></code></td>
528                    <td class="table_cells">Matches <b>P</b> zero or more times</td>
529                </tr>
530                <tr>
531                   
532          <td class="table_cells"><code><a href="operators.html">+P</a></code></td>
533                    <td class="table_cells">Matches <b>P</b> one or more times</td>
534                </tr>
535                <tr>
536                   
537          <td class="table_cells"><code><a href="primitives.html">~P</a></code></td>
538                    <td class="table_cells">Matches anything that does not match <b>P</b></td>
539                </tr>
540
541                <tr>
542                    <td class="table_title" colspan="2" id="binary_operators"><a name="binary_operators"></a>Binary operators</td>
543                </tr>
544                <tr>
545                    <td class="table_cells"><code><a href="operators.html">P1 % P2</a></code></td>
546                    <td class="table_cells">Matches one or more <b>P1</b> separated by <b>P2</b></td>
547                </tr>
548                <tr>
549                    <td class="table_cells"><code><a href="operators.html">P1 - P2</a></code></td>
550                    <td class="table_cells">Matches <b>P1</b> but not <b>P2</b></td>
551                </tr>
552                <tr>
553                    <td class="table_cells"><code><a href="operators.html">P1 &gt;&gt; P2</a></code></td>
554                    <td class="table_cells">Matches <b>P1</b> followed by <b>P2</b></td>
555                </tr>
556                <tr>
557                    <td class="table_cells"><code><a href="operators.html">P1 &amp; P2</a></code></td>
558                    <td class="table_cells">Matches both <b>P1</b> and <b>P2</b></td>
559                </tr>
560                <tr>
561                    <td class="table_cells"><code><a href="operators.html">P1 ^ P2</a></code></td>
562                    <td class="table_cells">Matches <b>P1</b> or <b>P2</b>, but not both</td>
563                </tr>
564                <tr>
565                    <td class="table_cells"><code><a href="operators.html">P1 | P2</a></code></td>
566                    <td class="table_cells">Matches <b>P1</b> or <b>P2</b></td>
567                </tr>
568                <tr>
569                    <td class="table_cells"><code><a href="operators.html">P1 &amp;&amp; P2</a></code></td>
570                    <td class="table_cells">Synonym for <b>P1 &gt;&gt; P2</b></td>
571                </tr>
572                <tr>
573                    <td class="table_cells"><code><a href="operators.html">P1 || P2</a></code></td>
574                    <td class="table_cells">Matches <b>P1 | P2 | P1 &gt;&gt; P2</b></td>
575                </tr>
576
577            </table>
578
579        </td>
580
581    </tr>
582
583</table>
584
585<br>
586<table border="0">
587  <tr> 
588    <td width="10"></td>
589    <td width="30"><a href="../index.html"><img src="theme/u_arr.gif" border="0"></a></td>
590    <td width="30"><a href="error_handling.html"><img src="theme/l_arr.gif" border="0"></a></td>
591    <td width="30"><a href="includes.html"><img src="theme/r_arr.gif" border="0"></a></td>
592  </tr>
593</table>
594<hr size="1">
595<p class="copyright">Copyright &copy; 2003 Ross Smith<br>
596  <br>
597  <font size="2">Use, modification and distribution is subject to the Boost Software
598  License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)</font></p>
599<p>&nbsp;</p>
600</body>
601
602</html>
Note: See TracBrowser for help on using the repository browser.