Boost C++ 库

...世界上最受推崇和设计精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu,《C++ 编码规范

全局 _ - Boost C++ 函数库
PrevUpHomeNext

全局 _

boost::xpressive::_ — 匹配任何单个字符。

提要

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

unspecified _;

描述

匹配任何字符,类似于 perl 语法中的“.”,并带有 /s 修饰符。'_' 匹配任何单个字符,包括换行符。

[Important] 重要提示

要匹配除换行符之外的任何字符,请使用 ~_n


PrevUpHomeNext