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

U_STABLE int32_t U_EXPORT2 uregex_regionStart ( const URegularExpression regexp,
UErrorCode status 

Reports the start index of the matching region. 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 starting index of this matcher's region. ICU 4.0

Definition at line 773 of file uregex.cpp.

References FALSE.

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

Generated by  Doxygen 1.6.0   Back to index