CRegExp.SetExpr
Sets and compiles a regexp.
Class method:
bool SetExpr(char *Expr);
DLL interface:
BOOL WINAPI reSetExpr(PRegExp re, char *expr)
Members
re
a pointer to an object
expr
String with a regexp written by following colorer rules. If you perform the
search in non-OEM codepage then you should first pass the string converted to your codepage to
this method, and call the SetCodePage function with the
address of the transliteration table from your codepage to OEM.
Return value
Returns TRUE or FALSE depending on operation success/failure.
Remarks
It's possible to use extended geterror method for getting more detailed
information about an error.
See also: