]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/util.h
ICU-8.11.1.tar.gz
[apple/icu.git] / icuSources / common / util.h
index 1031d488d082e3561d8118f5b1e2e6cb3cbe5843..6af528b02f83cbcc74b7449b5952252a2060553a 100644 (file)
@@ -1,6 +1,6 @@
 /*
 **********************************************************************
-*   Copyright (c) 2001, International Business Machines
+*   Copyright (c) 2001-2005, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 **********************************************************************
 *   Date        Name        Description
@@ -71,9 +71,10 @@ class U_COMMON_API ICU_Utility /* not : public UObject because all methods are s
      * @param c character to search for
      * @return Offset of the first instance of c, or -1 if not found.
      */
-    static int32_t quotedIndexOf(const UnicodeString& text,
-                                 int32_t start, int32_t limit,
-                                 UChar c);
+//?FOR FUTURE USE.  DISABLE FOR NOW for coverage reasons.
+//    static int32_t quotedIndexOf(const UnicodeString& text,
+//                                 int32_t start, int32_t limit,
+//                                 UChar c);
 
     /**
      * Skip over a sequence of zero or more white space characters at pos.
@@ -233,5 +234,15 @@ private:
 
 U_NAMESPACE_END
 
+/**
+ * Is this character a "white space" in the sense of ICU rule parsers?
+ * Equivalent to test for Pattern_White_Space Unicode property.
+ * Stable set of characters, won't change.
+ * See UAX #31 Identifier and Pattern Syntax: http://www.unicode.org/reports/tr31/
+ * @internal
+ */
+U_CAPI UBool U_EXPORT2
+uprv_isRuleWhiteSpace(UChar32 c);
+
 #endif
 //eof