/*
**********************************************************************
-* Copyright (C) 2002-2004, International Business Machines
+* Copyright (C) 2002-2006, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* file name: regex.h
*
* @internal
*/
- virtual RegexMatcher *matcher(const UChar *input,
+ RegexMatcher *matcher(const UChar *input,
UErrorCode &status) const;
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);
* @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);
* @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;
/**
* 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;
/**
* 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);