Home | History | Annotate | Download | only in unicode

Lines Matching refs:pattern

72  * string pattern.
74 * <p><b>Pattern syntax</b></p>
185 * <td nowrap valign="top" align="right"><code>pattern :=&nbsp; </code></td>
191 * <td valign="top"><code>char | (char '-' char) | pattern-expr<br>
195 * <td nowrap valign="top" align="right"><code>pattern-expr :=&nbsp; </code></td>
196 * <td valign="top"><code>pattern | pattern-expr pattern |
197 * pattern-expr op pattern<br>
225 * <td valign="top"><em>a Unicode property set pattern</em></td>
289 * The pattern representation of this set. This may not be the
290 * most economical pattern. It is the pattern supplied to
293 * modified using the non-pattern API, this string will be empty,
294 * indicating that toPattern() must generate a pattern
397 * Constructs a set from the given pattern. See the class
398 * description for the syntax of the pattern language.
399 * @param pattern a string specifying what characters are in the set
400 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
404 UnicodeSet(const UnicodeString& pattern,
409 * Constructs a set from the given pattern. See the class
410 * description for the syntax of the pattern language.
411 * @param pattern a string specifying what characters are in the set
412 * @param options bitmask for options to apply to the pattern.
416 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
420 UnicodeSet(const UnicodeString& pattern,
427 * Constructs a set from the given pattern. See the class description
428 * for the syntax of the pattern language.
429 * @param pattern a string specifying what characters are in the set
430 * @param pos on input, the position in pattern at which to start parsing.
432 * @param options bitmask for options to apply to the pattern.
439 UnicodeSet(const UnicodeString& pattern, ParsePosition& pos,
599 * Return true if the given position, in the given pattern, appears
600 * to be the start of a UnicodeSet pattern.
603 static UBool resemblesPattern(const UnicodeString& pattern,
608 * pattern, ignoring Unicode Pattern_White_Space characters.
609 * See the class description for the syntax of the pattern language.
611 * @param pattern a string specifying what characters are in the set
612 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
614 * <em> Empties the set passed before applying the pattern.</em>
618 UnicodeSet& applyPattern(const UnicodeString& pattern,
624 * pattern, optionally ignoring Unicode Pattern_White_Space characters.
625 * See the class description for the syntax of the pattern language.
627 * @param pattern a string specifying what characters are in the set
628 * @param options bitmask for options to apply to the pattern.
632 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
634 *<em> Empties the set passed before applying the pattern.</em>
638 UnicodeSet& applyPattern(const UnicodeString& pattern,
645 * Parses the given pattern, starting at the given position. The
646 * character at pattern.charAt(pos.getIndex()) must be '[', or the
652 * pairs list for the parsed pattern is returned. This method calls
654 *<em> Empties the set passed before applying the pattern.</em>
657 * @param pattern the string containing the pattern to be parsed.
661 * The character at pattern.charAt(pos.getIndex()) must be a '['.
663 * the character after the closing ']' of the parsed pattern, or
664 * pattern.length() if the closing ']' is the last character of
665 * the pattern string.
666 * @param options bitmask for options to apply to the pattern.
670 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
675 UnicodeSet& applyPattern(const UnicodeString& pattern,
1511 // Implementation: Pattern parsing
1514 void applyPatternIgnoreSpace(const UnicodeString& pattern,
1559 * Return true if the given position, in the given pattern, appears
1560 * to be the start of a property set pattern [:foo:], \\p{foo}, or
1563 static UBool resemblesPropertyPattern(const UnicodeString& pattern,
1570 * Parse the given property pattern at the given parse position
1595 * @param pattern the pattern string
1608 UnicodeSet& applyPropertyPattern(const UnicodeString& pattern,
1640 * Set the new pattern to cache.
1644 * Release existing cached pattern.