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

U_STABLE UBool U_EXPORT2 uregex_findNext ( URegularExpression regexp,
UErrorCode status 

Find the next pattern match in the input string. Begin searching the input at the location following the end of he previous match, or at the start of the string (or region) if there is no previous match. If a match is found, uregex_start(), uregex_end(), and uregex_group() will provide more information regarding the match.

regexp The compiled regular expression.
status A reference to a UErrorCode to receive any errors.
TRUE if a match is found.
See also:
uregex_reset ICU 3.0

Definition at line 563 of file uregex.cpp.

References FALSE.

    RegularExpression *regexp = (RegularExpression*)regexp2;
    if (validateRE(regexp, status) == FALSE) {
        return FALSE;
    UBool result = regexp->fMatcher->find();
    return result;

Generated by  Doxygen 1.6.0   Back to index