diff --git a/icu4c/source/i18n/repattrn.cpp b/icu4c/source/i18n/repattrn.cpp index 7899ac3ebf..bcd11078c4 100644 --- a/icu4c/source/i18n/repattrn.cpp +++ b/icu4c/source/i18n/repattrn.cpp @@ -3,7 +3,7 @@ // /* *************************************************************************** -* Copyright (C) 2002-2004 International Business Machines Corporation * +* Copyright (C) 2002-2006 International Business Machines Corporation * * and others. All rights reserved. * *************************************************************************** */ @@ -324,6 +324,7 @@ RegexMatcher *RegexPattern::matcher(const UnicodeString &input, return retMatcher; } +#if 0 RegexMatcher *RegexPattern::matcher(const UChar * /*input*/, UErrorCode &status) const { @@ -333,7 +334,7 @@ RegexMatcher *RegexPattern::matcher(const UChar * /*input*/, } return NULL; } - +#endif //--------------------------------------------------------------------- // diff --git a/icu4c/source/i18n/unicode/regex.h b/icu4c/source/i18n/unicode/regex.h index d3f97e6259..979082a394 100644 --- a/icu4c/source/i18n/unicode/regex.h +++ b/icu4c/source/i18n/unicode/regex.h @@ -1,6 +1,6 @@ /* ********************************************************************** -* Copyright (C) 2002-2005, 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: