format_syntax.qbk 786 B

1234567891011121314151617181920212223242526
  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. [section:format Search and Replace Format String Syntax]
  8. Format strings are used by the algorithm [regex_replace] and by
  9. [match_results_format], and are used to transform one string into another.
  10. There are three kind of format string: [sed_format], [perl_format] and [boost_extended_format].
  11. Alternatively, when the flag `format_literal` is passed to one of these functions,
  12. then the format string is treated as a string literal, and is copied unchanged
  13. to the output.
  14. [include format_sed_syntax.qbk]
  15. [include format_perl_syntax.qbk]
  16. [include format_boost_syntax.qbk]
  17. [endsect]