Locale-Sensitive String Searching
RWUStringSearch allows for flexible, collator-based string searches, unlike the string searches performed by RWUString (Lexical String Searching). RWUString uses simple lexical comparisons of the code units in the strings, but RWUStringSearch employs the rules encapsulated by an RWUCollator and an optional RWUBreakSearch to determine if and where a match occurs.
RWUStringSearch provides a number of options to search for occurrences of the pattern string in a text string:
*iteration-style searches using the first(), last(), next(), and previous() methods
*direct queries related to an iterator offset using the isMatch() method
*search and replace functionality using the replace() method