Returns a string representation of this matcher. If the result of calling this function is passed to the appropriate parser, it will produce another matcher that is equal to this one.
|result ||the string to receive the pattern. Previous contents will be deleted. |
|escapeUnprintable ||if TRUE then convert unprintable character to their hex escape representations, \uxxxx or \Uxxxxxxxx. Unprintable characters are those other than U+000A, U+0020..U+007E. ICU 2.4 |
Implemented in UnicodeSet, StringMatcher, TestFilter1, and TestFilter.
Referenced by StringMatcher::toPattern().