SigUtil
0.95
Utility modules for modern C++
|
正規表現ユーティリティ More...
Go to the source code of this file.
Classes | |
struct | sig::impl::Str2RegexSelector< T > |
struct | sig::impl::Str2RegexSelector< std::string > |
struct | sig::impl::Str2RegexSelector< std::wstring > |
Namespaces | |
sig | |
sig::impl | |
Macros | |
#define | NOMINMAX |
#define | SIG_RegexSearch std::regex_search |
#define | SIG_RegexReplace std::regex_replace |
Typedefs | |
using | SIG_Regex = std::regex |
using | SIG_WRegex = std::wregex |
using | SIG_SMatch = std::smatch |
using | SIG_WSMatch = std::wsmatch |
Functions | |
auto | sig::escape_regex (std::string const &expression) -> std::string |
与えられた文字中に含まれる、正規表現の特殊文字をエスケープする More... | |
auto | sig::escape_regex (std::wstring const &expression) -> std::wstring |
template<class S > | |
auto | sig::make_regex (S const &expression) -> typename impl::Str2RegexSelector< impl::string_t< S >>::regex |
エスケープ処理を行い、regexオブジェクトを返す More... | |
template<class S , class TS = impl::string_t<S>> | |
auto | sig::regex_search (S &&src, typename impl::Str2RegexSelector< TS >::regex const &expression) -> Maybe< std::vector< std::vector< TS >>> |
std::regex_search のラッパ関数 More... | |
正規表現ユーティリティ
Definition in file regex.hpp.
using SIG_SMatch = std::smatch |
using SIG_WRegex = std::wregex |
using SIG_WSMatch = std::wsmatch |