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 to view this page for the latest version.
PrevUpHomeNext

Global _n

boost::xpressive::_n — Matches a literal newline character, '\n'.

Synopsis

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

proto::terminal< char >::type const _n;

Description

'_n' matches a single newline character, '\n'. Use ~_n to match a character that is not a newline.


PrevUpHomeNext