21#include "tdelibs_export.h"
60class TDECORE_EXPORT TDE_DEPRECATED
KRegExp
75 KRegExp(
const char *_pattern,
const char *_mode =
"" );
85 bool compile(
const char *_pattern,
const char *_mode =
"" );
92 bool match(
const char *_string );
106 const char *
group(
int _grp );
Used internally by KRegExp.
KRegExp()
Creates a KRegExp object without a default pattern.
int groupStart(int _grp)
The offset of the given group in the string.
bool match(const char *_string)
Match a string to the last supplied regexp.
int groupEnd(int _grp)
The offset of the given group's end in the string.
const char * group(int _grp)
Returns a group from the match.
bool compile(const char *_pattern, const char *_mode="")
Prepare a regular expression for subsequent matches.