|
Public 型 |
enum | {
DEFAULT = REG_EXTENDED|REG_NEWLINE,
IOPTION = DEFAULT|REG_ICASE
} |
Public メソッド |
| TRegularExpression (const Tstring &pattern, Tint option=DEFAULT) |
| TRegularExpression (Tint option=DEFAULT, const Tstring &pattern="") |
| TRegularExpression (const TRegularExpression &right) |
| ~TRegularExpression () |
const TRegularExpression & | operator= (const TRegularExpression &right) |
const TRegularExpression & | operator= (const Tstring &right) |
Tbool | operator== (const Tstring &right) |
Tbool | operator!= (const Tstring &right) |
Tvoid | Compile () |
Tint | Index (const Tstring &source, Tint pos=0) |
TintList | Indexes (const Tstring &source, Tint pos=0) |
Tint | Size (const Tstring &source, Tint pos=0) |
TintList | Sizes (const Tstring &source, Tint pos=0) |
Tstring | MatchString (const Tstring &source, Tint pos=0) |
TstringList | MatchStrings (const Tstring &source, Tint pos=0) |
Tbool | IsMatch (const Tstring &source, Tint pos=0) |
Tint | GetNumberOfMatches (const Tstring &source, Tint pos=0) |
Tstring | Substitute (const Tstring &source, const Tstring &substr="", Tint pos=0) |
Tstring | SubstituteAll (const Tstring &source, const Tstring &substr="", Tint pos=0) |
TstringList | Split (const Tstring &source, Tint pos=0) |
TstringList | Split (const Tstring &pattern, const Tstring &source, Tint pos=0) |
TstringList | Split (const TRegularExpression ®ex, const Tstring &source, Tint pos=0) |
Tstring | GetSubMatch (Tint index, const Tstring &source, Tint pos=0) |
TstringList | GetSubMatch (const Tstring &source, Tint pos=0) |
const Tstring & | GetPattern () const |
Tint | GetOption () const |
Tint | GetNumberOfSubMatches () const |
const Tregex_t * | GetCompiledPattern () const |
const Tregmatch_t * | GetMatch () const |
const Tregmatch_t * | GetSubMatch () const |
Tvoid | SetPattern (const Tstring &pattern) |
Tvoid | SetOption (Tint option=DEFAULT) |
Tvoid | IgnoreCase (Tbool stat=Ttrue) |