Lumino
ln::Regex Class Reference

正規表現を用いたパターンマッチングを提供します。 More...

#include <Regex.hpp>

Static Public Member Functions

static bool match (const StringRef &input, const StringRef &pattern, MatchResult *outResult=nullptr)
 対象の文字列が、正規表現パターンで表現できているかを調べます。(完全一致)
 
static bool search (const StringRef &input, const StringRef &pattern, MatchResult *outResult=nullptr)
 文字列の中から、正規表現パターンに該当する文字列があるかを調べます。(検索, 部分一致)
 

Detailed Description

正規表現を用いたパターンマッチングを提供します。

検証、検索、文字列分割 をサポートします。

正規表現の実装は PCRE(Perl互換の正規表現のリファレンス実装)です。 詳細については以下を参照してください。


The documentation for this class was generated from the following file: