]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/patternprops.h
ICU-64260.0.1.tar.gz
[apple/icu.git] / icuSources / common / patternprops.h
index a42eb3c244128a2c560bab1551b8aac242ed6f25..b57cdeb6e534f624de7d7ed0237524fa3458771b 100644 (file)
@@ -17,6 +17,7 @@
 #ifndef __PATTERNPROPS_H__
 #define __PATTERNPROPS_H__
 
+#include "unicode/unistr.h"
 #include "unicode/utypes.h"
 
 U_NAMESPACE_BEGIN
@@ -63,6 +64,12 @@ public:
      */
     static const UChar *skipWhiteSpace(const UChar *s, int32_t length);
 
+    /**
+     * Skips over Pattern_White_Space starting at index start in s.
+     * @return The smallest index at or after start with a non-white space character.
+     */
+    static int32_t skipWhiteSpace(const UnicodeString &s, int32_t start);
+
     /**
      * @return s except with leading and trailing Pattern_White_Space removed and length adjusted.
      */