X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/9d88c94317aeac5dd26c1dbe8c2112dbe855d2b5..73c04bcfe1096173b00431f0cdc742894b15eef0:/icuSources/i18n/unicode/regex.h diff --git a/icuSources/i18n/unicode/regex.h b/icuSources/i18n/unicode/regex.h index cfea208e..979082a3 100644 --- a/icuSources/i18n/unicode/regex.h +++ b/icuSources/i18n/unicode/regex.h @@ -1,6 +1,6 @@ /* ********************************************************************** -* Copyright (C) 2002-2004, International Business Machines +* Copyright (C) 2002-2006, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * file name: regex.h @@ -282,7 +282,7 @@ private: * * @internal */ - virtual RegexMatcher *matcher(const UChar *input, + RegexMatcher *matcher(const UChar *input, UErrorCode &status) const; public: @@ -530,7 +530,7 @@ public: * @param startIndex The input string index at which to begin matching. * @param status A reference to a UErrorCode to receive any errors. * @return TRUE if there is a match - * @draft ICU 2.8 + * @stable ICU 2.8 */ virtual UBool matches(int32_t startIndex, UErrorCode &status); @@ -563,7 +563,7 @@ public: * @param startIndex The input string index at which to begin matching. * @param status A reference to a UErrorCode to receive any errors. * @return TRUE if there is a match. - * @draft ICU 2.8 + * @stable ICU 2.8 */ virtual UBool lookingAt(int32_t startIndex, UErrorCode &status); @@ -652,7 +652,7 @@ public: * @return the start position of substring matched by the specified group. * @stable ICU 2.4 */ - virtual int32_t start(int group, UErrorCode &status) const; + virtual int32_t start(int32_t group, UErrorCode &status) const; /** @@ -680,7 +680,7 @@ public: * Return -1 if the capture group exists in the pattern but was not part of the match. * @stable ICU 2.4 */ - virtual int32_t end(int group, UErrorCode &status) const; + virtual int32_t end(int32_t group, UErrorCode &status) const; /** @@ -701,7 +701,7 @@ public: * the specified position in the input string. * * @return this RegexMatcher. - * @draft ICU 2.8 + * @stable ICU 2.8 */ virtual RegexMatcher &reset(int32_t index, UErrorCode &status);