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 to view this page for the latest version.
Next

Boost.Regex 5.0.1

John Maddock

Distributed under 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)


Table of Contents

Configuration
Compiler Setup
Locale and traits class selection
Linkage Options
Algorithm Selection
Algorithm Tuning
Building and Installing the Library
Introduction and Overview
Unicode and Boost.Regex
Understanding Marked Sub-Expressions and Captures
Partial Matches
Regular Expression Syntax
Perl Regular Expression Syntax
POSIX Extended Regular Expression Syntax
POSIX Basic Regular Expression Syntax
Character Class Names
Character Classes that are Always Supported
Character classes that are supported by Unicode Regular Expressions
Collating Names
Digraphs
POSIX Symbolic Names
Named Unicode Characters
The Leftmost Longest Rule
Search and Replace Format String Syntax
Sed Format String Syntax
Perl Format String Syntax
Boost-Extended Format String Syntax
Reference
basic_regex
match_results
sub_match
regex_match
regex_search
regex_replace
regex_iterator
regex_token_iterator
bad_expression
syntax_option_type
syntax_option_type Synopsis
Overview of syntax_option_type
Options for Perl Regular Expressions
Options for POSIX Extended Regular Expressions
Options for POSIX Basic Regular Expressions
Options for Literal Strings
match_flag_type
error_type
regex_traits
Interfacing With Non-Standard String Types
Working With Unicode and ICU String Types
Introduction to using Regex with ICU
Unicode regular expression types
Unicode Regular Expression Algorithms
Unicode Aware Regex Iterators
Using Boost Regex With MFC Strings
Introduction to Boost.Regex and MFC Strings
Regex Types Used With MFC Strings
Regular Expression Creation From an MFC String
Overloaded Algorithms For MFC String Types
Iterating Over the Matches Within An MFC String
POSIX Compatible C API's
Concepts
charT Requirements
Traits Class Requirements
Iterator Requirements
Deprecated Interfaces
regex_format (Deprecated)
regex_grep (Deprecated)
regex_split (deprecated)
High Level Class RegEx (Deprecated)
Internal Details
Unicode Iterators
Background Information
Headers
Localization
Thread Safety
Test and Example Programs
References and Further Information
FAQ
Performance
Testing Perl searches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.0)
Testing Perl searches (platform = linux, compiler = GNU C++ version 5.1.0)
Testing leftmost-longest searches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.0)
Testing leftmost-longest searches (platform = linux, compiler = GNU C++ version 5.1.0)
Testing simple Perl matches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.0)
Testing simple Perl matches (platform = linux, compiler = GNU C++ version 5.1.0)
Testing simple leftmost-longest matches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.0)
Testing simple leftmost-longest matches (platform = linux, compiler = GNU C++ version 5.1.0)
Standards Conformance
Redistributables
Acknowledgements
History

A printer-friendly PDF version of this manual is also available.

Last revised: October 15, 2015 at 17:25:24 GMT


Next