]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/regex/doc/format_syntax.qbk
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / regex / doc / format_syntax.qbk
1 [/
2 Copyright 2006-2007 John Maddock.
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt).
6 ]
7
8
9 [section:format Search and Replace Format String Syntax]
10
11 Format strings are used by the algorithm [regex_replace] and by
12 [match_results_format], and are used to transform one string into another.
13
14 There are three kind of format string: [sed_format], [perl_format] and [boost_extended_format].
15
16 Alternatively, when the flag `format_literal` is passed to one of these functions,
17 then the format string is treated as a string literal, and is copied unchanged
18 to the output.
19
20 [include format_sed_syntax.qbk]
21 [include format_perl_syntax.qbk]
22 [include format_boost_syntax.qbk]
23
24 [endsect]
25
26