Boost C++ Libraries 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.

Global _

boost::xpressive::_ — Matches any one character.


// In header: <boost/xpressive/regex_primitives.hpp>

unspecified _;


Match any character, similar to '.' in perl syntax with the /s modifier. '_' matches any one character, including the newline.

[Note] Note

To match any character except the newline, use ~_n