X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..efa1e6592fb03ce23b15276b2b91d885a3ee7da5:/icuSources/tools/genrb/prscmnts.cpp diff --git a/icuSources/tools/genrb/prscmnts.cpp b/icuSources/tools/genrb/prscmnts.cpp index 75a8b0ee..758cf831 100644 --- a/icuSources/tools/genrb/prscmnts.cpp +++ b/icuSources/tools/genrb/prscmnts.cpp @@ -1,19 +1,18 @@ /* -******************************************************************************* -* -* Copyright (C) 2003, International Business Machines -* Corporation and others. All Rights Reserved. -* -******************************************************************************* -* -* File prscmnts.cpp -* -* Modification History: -* -* Date Name Description -* 08/22/2003 ram Creation. -******************************************************************************* -*/ + ******************************************************************************* + * Copyright (C) 2003-2007, International Business Machines + * Corporation and others. All Rights Reserved. + ******************************************************************************* + * + * File prscmnts.cpp + * + * Modification History: + * + * Date Name Description + * 08/22/2003 ram Creation. + ******************************************************************************* + */ + #include "unicode/regex.h" #include "unicode/unistr.h" #include "unicode/parseerr.h" @@ -21,13 +20,15 @@ #include #include +U_NAMESPACE_USE + #if UCONFIG_NO_REGULAR_EXPRESSIONS==0 /* donot compile when RegularExpressions not available */ #define MAX_SPLIT_STRINGS 20 const char *patternStrings[UPC_LIMIT]={ - "^translate\\s*?(.*)", - "^note\\s*?(.*)" + "^translate\\s*(.*)", + "^note\\s*(.*)" }; U_CFUNC int32_t