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

U_STABLE int32_t U_EXPORT2 uregex_regionEnd ( const URegularExpression regexp,
UErrorCode status 

Reports the end index (exclusive) of the matching region for this URegularExpression. Any matches found are limited to to the region bounded by regionStart (inclusive) and regionEnd (exclusive).

regexp The compiled regular expression.
status A pointer to a UErrorCode to receive any errors.
The ending point of this matcher's region. ICU 4.0

Definition at line 789 of file uregex.cpp.

References FALSE.

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

Generated by  Doxygen 1.6.0   Back to index