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 11Format strings are used by the algorithm [regex_replace] and by 12[match_results_format], and are used to transform one string into another. 13 14There are three kind of format string: [sed_format], [perl_format] and [boost_extended_format]. 15 16Alternatively, when the flag `format_literal` is passed to one of these functions, 17then the format string is treated as a string literal, and is copied unchanged 18to 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 27