Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_STABLE UBool U_EXPORT2 uregex_hitEnd ( const URegularExpression regexp,
UErrorCode status 
)

Return TRUE if the most recent matching operation touched the end of the text being processed. In this case, additional input text could change the results of that match.

Parameters:
regexp The compiled regular expression.
status A pointer to a UErrorCode to receive any errors.
Returns:
TRUE if the most recent match hit the end of input ICU 4.0

Definition at line 871 of file uregex.cpp.

References FALSE.

                                                    {
    RegularExpression *regexp = (RegularExpression*)regexp2;
    if (validateRE(regexp, status) == FALSE) {
        return FALSE;
    }
    return regexp->fMatcher->hitEnd();
}


Generated by  Doxygen 1.6.0   Back to index