Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

Boost.Regex

Index




Contents

This documentation is also available in PDF format.

Overview
Configuration and setup
Installation
Building with bjam (preferred)
Building with Unicode/ICU support
Building via Makefiles
Borland C++ Builder
Microsoft Visual C++
GNU G++
Sun Forte Compiler
Other compilers
Backgrounders
Regular Expression Syntax
Perl Regular Expressions
POSIX-Extended Regular Expressions
POSIX-Basic Regular Expressions
Format String Syntax
Perl Format Syntax
Sed Format Syntax
Boost-Extended Format Syntax
Partial matches: matches against incomplete or infinitely long texts
Understanding Captures
Unicode Support (requires ICU)
Working With Non-Standard String Types
MFC/ATL Strings
ICU Strings
Reference
Types
syntax_option_type
error_type
match_flag_type
class regex_error
class regex_traits
class template basic_regex
class template sub_match
class template match_results
Algorithms
regex_match
regex_search
regex_replace
Iterators
regex_iterator
regex_token_iterator
Typedefs
regex     [ = basic_regex<char> ]
wregex     [ = basic_regex<wchar_t> ]
cmatch     [ = match_results<const char*> ]
wcmatch     [ = match_results<const wchar_t*> ]
smatch     [ = match_results<std::string::const_iterator> ]
wsmatch     [ = match_results<std::wstring::const_iterator> ]
cregex_iterator     [ = regex_iterator<const char*>]
wcregex_iterator     [ = regex_iterator<const wchar_t*>]
sregex_iterator     [ = regex_iterator<std::string::const_iterator>]
wsregex_iterator     [ = regex_iterator<std::wstring::const_iterator>]
cregex_token_iterator     [ = regex_token_iterator<const char*>]
wcregex_token_iterator     [ = regex_token_iterator<const wchar_t*>]
sregex_token_iterator     [ = regex_token_iterator<std::string::const_iterator>]
wsregex_token_iterator     [ = regex_token_iterator<std::wstring::const_iterator>]
Deprecated interfaces
POSIX API Compatibility Functions
class regbase
class template reg_expression
Algorithm regex_grep
Algorithm regex_format
Algorithm regex_merge
Algorithm regex_split
class RegEx
FAQ
Appendix
Implementation
Thread Safety
Localisation
Examples
Headers
Redistributables and Library Names
Standards Conformance
History
Performance
Contacts and Acknowledgements

Revised 24 June 2004 

© Copyright John Maddock 1998- 2004

Use, modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)