Index: source/i18n/unicode/uregex.h |
diff --git a/source/i18n/unicode/uregex.h b/source/i18n/unicode/uregex.h |
index c6381ca16912609ee3d1a66ff1bcffaf6ef64730..ab85719db7ff487afce14c7e8ce425c366a0e933 100644 |
--- a/source/i18n/unicode/uregex.h |
+++ b/source/i18n/unicode/uregex.h |
@@ -1,6 +1,8 @@ |
+// Copyright (C) 2016 and later: Unicode, Inc. and others. |
+// License & terms of use: http://www.unicode.org/copyright.html |
/* |
********************************************************************** |
-* Copyright (C) 2004-2015, International Business Machines |
+* Copyright (C) 2004-2016, International Business Machines |
* Corporation and others. All Rights Reserved. |
********************************************************************** |
* file name: uregex.h |
@@ -607,7 +609,6 @@ U_STABLE int32_t U_EXPORT2 |
uregex_groupCount(URegularExpression *regexp, |
UErrorCode *status); |
-#ifndef U_HIDE_DRAFT_API |
/** |
* Get the group number corresponding to a named capture group. |
* The returned number can be used with any function that access |
@@ -622,9 +623,9 @@ uregex_groupCount(URegularExpression *regexp, |
* nul-terminated string. |
* @param status A pointer to a UErrorCode to receive any errors. |
* |
- * @draft ICU 55 |
+ * @stable ICU 55 |
*/ |
-U_DRAFT int32_t U_EXPORT2 |
+U_STABLE int32_t U_EXPORT2 |
uregex_groupNumberFromName(URegularExpression *regexp, |
const UChar *groupName, |
int32_t nameLength, |
@@ -646,14 +647,13 @@ uregex_groupNumberFromName(URegularExpression *regexp, |
* nul-terminated. |
* @param status A pointer to a UErrorCode to receive any errors. |
* |
- * @draft ICU 55 |
+ * @stable ICU 55 |
*/ |
-U_DRAFT int32_t U_EXPORT2 |
+U_STABLE int32_t U_EXPORT2 |
uregex_groupNumberFromCName(URegularExpression *regexp, |
const char *groupName, |
int32_t nameLength, |
UErrorCode *status); |
-#endif /* U_HIDE_DRAFT_API */ |
/** Extract the string for the specified matching expression or subexpression. |
* Group #0 is the complete string of matched text. |