Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: source/i18n/unicode/uregex.h

Issue 2440913002: Update ICU to 58.1
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/i18n/unicode/upluralrules.h ('k') | source/i18n/unicode/uregion.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « source/i18n/unicode/upluralrules.h ('k') | source/i18n/unicode/uregion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698