CRegExp.Parse

Far Manager

CRegExp.Parse

Parses the compiled regexp against a target string.

Class method:

bool Parse(char *Str, PMatches Mtch);

DLL interface:

BOOL WINAPI reParse(PRegExp re, char *str, PMatches mtch);

Members

re
a pointer to an object
str
a target string to process
mtch
Pointer to a structure for saving bracket matches

Return value

Returns TRUE or FALSE depending on parsing success/failure.

Remarks

When one uses this method some things go by default. The beginning of the string corresponds to the real begginning, and the end of the string corresponds to... er... the real end. If you want to use the extended capabilities - use a more feature-full Parse variant.
See also: