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

PrevUpHomeNext

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

This section covers the regular expression syntax used by this library, this is a programmers guide, the actual syntax presented to your program's users will depend upon the flags used during expression compilation.

There are three main syntax options available, depending upon how you construct the regular expression object:

You can also construct a regular expression that treats every character as a literal, but that's not really a "syntax"!


PrevUpHomeNext