POXIS Extended Regular Expression Syntax

POSIX extended regular expressions can be constructed in Boost.Regex by passing the flag extended to the regex constructor.

boost::regex e1(my_expression boost::regex::extended);

See POSIX Extended Regular Expression Syntax for more information regarding:

  • Wildcards
  • Anchors
  • Marked sub-expressions
  • Repeats
  • Alternation
  • Character sets
  • Escapes