RegularExp::SearchBackward

Section: ET++ method description (n)
Updated: automatically Mon Apr 8 20:18:26 1991
Index Return to Main Contents
 

NAME

RegularExp::SearchBackward - instance method  

TEMPLATE

foundPosition = int SearchBackward(char * string, int * nMatched, int pos = cMaxInt, int size = -1, int range = cMaxInt, RegExRegs * regs = NULL)  

SPECIFIERS

public  

DESCRIPTION

SearchBackward searches the next matching substring starting at position pos and trying pos-1, pos-2, etc.  

ARGUMENTS

char * string

the string to be searched
int * nMatched

the length of the matched pattern
int pos = cMaxInt

position in the string where to start searching
int size = -1

the length of the string
argument. If it is -1, then the length is determined by the terminating zero character.
int range = cMaxInt

how many characters to search
RegExRegs * regs = NULL

after return contains information about (...)
subexpressions
 

RETURN ARGUMENT

int foundPosition

the position of the matching substring or -1
if no match
 

CATEGORIES

client interface

 

FILES

implementation:
RegularExp.C


 

Index

NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FILES

This document was created by man2html, using the manual pages.
Time: 00:40:24 GMT, March 30, 2022