メインページ   名前空間リスト   データ構造リスト   ファイルリスト   名前空間メンバ   データ構造メンバ   ファイルメンバ   関連ページ  

名前空間 LEIRegExp の解説


データ構造

class  LEIRegExp::RECache
 正規表現キャッシュ. より詳しく...

class  LEIRegExp::REMatcher
 マッチした部分文字列を保持するパターンマッチクラス. より詳しく...

struct  LEIRegExp::REMatchRange
 パターン全体あるいはカッコで囲まれたサブパターンにマッチしている範囲を返す構造体. より詳しく...

class  LEIRegExp::RegExp
 正規表現プログラムのインタフェース. より詳しく...


型定義

typedef std::map< const std::string,
RegExp *> 
TRegexpCache
 パターン文字列から正規表現インスタンスを得るためのマップ. より詳しく...


関数

RegExpRegMatch (const char *pattern, const char *target, int rflags=0)
 正規表現キャッシュを使ったマッチ. より詳しく...

RegExpRegMatch (const std::string &pattern, const std::string &target, int rflags=0)
 正規表現キャッシュを使ったマッチ. より詳しく...

RegExpRegSubst (const char *pattern, const char *target, char *result, size_t bufsiz, int rflags=0)
 正規表現キャッシュを使った置換. より詳しく...

RegExpRegSubst (const std::string &pattern, const std::string &target, std::string &result, int rflags=0)
 正規表現キャッシュを使った置換. より詳しく...


型定義の解説

typedef std::map<const std::string, RegExp *> LEIRegExp::TRegexpCache
 

パターン文字列から正規表現インスタンスを得るためのマップ.


関数の解説

RegExp* RegMatch const char *    pattern,
const char *    target,
int    rflags = 0
[inline]
 

正規表現キャッシュを使ったマッチ.

引数:
pattern  正規表現パターン文字列
target  マッチング対象文字列
rflags  動作指定フラグ (RegFlags の要素のビット和)
戻り値:
マッチングに使用された正規表現インスタンスへのポインタ。 クライアント側ではこのポインタを delete してはならない。

RegExp* RegMatch const std::string &    pattern,
const std::string &    target,
int    rflags = 0
[inline]
 

正規表現キャッシュを使ったマッチ.

引数が std::string であることを除き、同名の関数に同じ。

RegExp* RegSubst const char *    pattern,
const char *    target,
char *    result,
size_t    bufsiz,
int    rflags = 0
[inline]
 

正規表現キャッシュを使った置換.

引数:
pattern  「/パターン/置換文字列/[修飾子]」
target  置換対象文字列を格納するバッファ
result  置換後文字列を格納するバッファ (文字列)
bufsiz  result バッファのサイズ
rflags  動作指定フラグ (RegFlags の要素のビット和)
戻り値:
置換に使用された正規表現インスタンスへのポインタ。 クライアント側ではこのポインタを delete してはならない。

RegExp* RegSubst const std::string &    pattern,
const std::string &    target,
std::string &    result,
int    rflags = 0
[inline]
 

正規表現キャッシュを使った置換.

引数が std::string であることを除き、同名の関数に同じ。


本ページは、 doxygen 1.2.11.1 によって生成されました。