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

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Global _

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

Synopsis

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

unspecified _;

Description

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


PrevUpHomeNext