From 9e89ddd7179fbe9bb94b22d36ac656e580a07fd6 Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Sun, 13 Dec 2009 22:45:22 +0000 Subject: [PATCH] ICU-7028 Remove extraneous comment from API comment in uregex_split() X-SVN-Rev: 27063 --- icu4c/source/i18n/unicode/uregex.h | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/icu4c/source/i18n/unicode/uregex.h b/icu4c/source/i18n/unicode/uregex.h index 9d7a5284f90..097b5cd68f3 100644 --- a/icu4c/source/i18n/unicode/uregex.h +++ b/icu4c/source/i18n/unicode/uregex.h @@ -805,25 +805,9 @@ uregex_appendTail(URegularExpression *regexp, * fields themselves. *

* Each of the fields is copied from the input string to the destination - * buffer, and the NUL terminated. The position of each field within + * buffer, and NUL terminated. The position of each field within * the destination buffer is returned in the destFields array. * - * Note: another choice for the design of this function would be to not - * copy the resulting fields at all, but to return indexes and - * lengths within the source text. - * Advantages would be - * o Faster. No Copying. - * o Nothing extra needed when field data may contain embedded NUL chars. - * o Less memory needed if working on large data. - * Disadvantages - * o Less consistent with C++ split, which copies into an - * array of UnicodeStrings. - * o No NUL termination, extracted fields would be less convenient - * to use in most cases. - * o Possible problems in the future, when support Unicode Normalization - * could cause the fields to not correspond exactly to - * a range of the source text. - * * @param regexp The compiled regular expression. * @param destBuf A (UChar *) buffer to receive the fields that * are extracted from the input string. These