CRegExp.Parse
Parses the compiled regexp against a target string using extended parameters.
Class method:
bool Parse(char *Str, char *Sol, char *Eol, PMatches Mtch, int Moves = -1);
DLL interface:
BOOL WINAPI reParseParam(PRegExp re, char *str, char *Sol, char *Eol, PMatches mtch, BOOL moves)
Members
re
a pointer to an object
str
a target string to process
Sol
the beginning of a string
Eol
the end of a string
mtch
Pointer to a structure for saving bracket matches
moves
-1 by default, it means NoMoves state isn't changing. It's possible to set
another value - see SetNoMoves function.
Return value
Returns TRUE or FALSE depending on parsing success/failure.
Remarks
If you see it more convenient to leave most parameters in their default values then use the
simplified Parse variant.
See also: