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:
©2018 Alteryx, Inc., all rights reserved. Allocate®, Alteryx®, Guzzler®, and Solocast® are registered trademarks of Alteryx, Inc.