]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/unicode/regex.h
ICU-8.11.tar.gz
[apple/icu.git] / icuSources / i18n / unicode / regex.h
index cfea208ee7af8dc6336498f5841166ea395e307f..979082a394fd4f7a10fe069cefea05d93af0f628 100644 (file)
@@ -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);