...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
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"!