1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
---|
2 | <html> |
---|
3 | <head> |
---|
4 | <title>Boost.Regex: Format String Syntax</title> |
---|
5 | <meta name="generator" content="HTML Tidy, see www.w3.org"> |
---|
6 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
7 | <link rel="stylesheet" type="text/css" href="../../../boost.css"> |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | <p></p> |
---|
11 | <table id="Table1" cellspacing="1" cellpadding="1" width="100%" border="0"> |
---|
12 | <tr> |
---|
13 | <td valign="top" width="300"> |
---|
14 | <h3><a href="../../../index.htm"><img height="86" width="277" alt="C++ Boost" src="../../../boost.png" border="0"></a></h3> |
---|
15 | </td> |
---|
16 | <td width="353"> |
---|
17 | <h1 align="center">Boost.Regex</h1> |
---|
18 | <h2 align="center">Format String Syntax</h2> |
---|
19 | </td> |
---|
20 | <td width="50"> |
---|
21 | <h3><a href="index.html"><img height="45" width="43" alt="Boost.Regex Index" src="uarrow.gif" border="0"></a></h3> |
---|
22 | </td> |
---|
23 | </tr> |
---|
24 | </table> |
---|
25 | <br> |
---|
26 | <br> |
---|
27 | <hr> |
---|
28 | <p>Format strings are used by the algorithm <a href="regex_replace.html">regex_replace</a> and |
---|
29 | by <a href="match_results.html#m12">match_results::format</a>, and are used to |
---|
30 | transform one string into another.</p> |
---|
31 | <p> |
---|
32 | There are three kind of format string: Sed, Perl and Boost-extended.</p> |
---|
33 | <P>Alternatively, when the flag <code>format_literal</code> is passed to one of these |
---|
34 | functions, then the format string is treated as a string literal, and is copied |
---|
35 | unchanged to the output.</P> |
---|
36 | <P><A href="format_sed_syntax.html">Sed Style Format Strings</A><BR> |
---|
37 | <A href="format_perl_syntax.html">Perl Style Format Strings</A><BR> |
---|
38 | <A href="format_boost_syntax.html">Boost-Extended Format Strings</A></P> |
---|
39 | <p></p> |
---|
40 | <hr> |
---|
41 | <p>Revised |
---|
42 | <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan --> |
---|
43 | 24 Nov 2004 |
---|
44 | <!--webbot bot="Timestamp" endspan i-checksum="39359" --></p> |
---|
45 | <p><i>© Copyright John Maddock 1998- |
---|
46 | <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> |
---|
47 | 2004</i></p> |
---|
48 | <P><I>Use, modification and distribution are subject to the Boost Software License, |
---|
49 | Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A> |
---|
50 | or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P> |
---|
51 | </body> |
---|
52 | </html> |
---|