Lines Matching refs:pattern
66 * string pattern.
68 * <p><b>Pattern syntax</b></p>
179 * <td nowrap valign="top" align="right"><code>pattern := </code></td>
185 * <td valign="top"><code>char | (char '-' char) | pattern-expr<br>
189 * <td nowrap valign="top" align="right"><code>pattern-expr := </code></td>
190 * <td valign="top"><code>pattern | pattern-expr pattern |
191 * pattern-expr op pattern<br>
219 * <td valign="top"><em>a Unicode property set pattern</em></td>
283 * The pattern representation of this set. This may not be the
284 * most economical pattern. It is the pattern supplied to
287 * modified using the non-pattern API, this string will be empty,
288 * indicating that toPattern() must generate a pattern
369 * Constructs a set from the given pattern. See the class
370 * description for the syntax of the pattern language.
371 * @param pattern a string specifying what characters are in the set
372 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
376 UnicodeSet(const UnicodeString& pattern,
380 * Constructs a set from the given pattern. See the class
381 * description for the syntax of the pattern language.
382 * @param pattern a string specifying what characters are in the set
383 * @param options bitmask for options to apply to the pattern.
387 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
391 UnicodeSet(const UnicodeString& pattern,
397 * Constructs a set from the given pattern. See the class description
398 * for the syntax of the pattern language.
399 * @param pattern a string specifying what characters are in the set
400 * @param pos on input, the position in pattern at which to start parsing.
402 * @param options bitmask for options to apply to the pattern.
409 UnicodeSet(const UnicodeString& pattern, ParsePosition& pos,
569 * Return true if the given position, in the given pattern, appears
570 * to be the start of a UnicodeSet pattern.
573 static UBool resemblesPattern(const UnicodeString& pattern,
578 * pattern, ignoring Unicode Pattern_White_Space characters.
579 * See the class description for the syntax of the pattern language.
581 * @param pattern a string specifying what characters are in the set
582 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
584 * <em> Empties the set passed before applying the pattern.</em>
588 UnicodeSet& applyPattern(const UnicodeString& pattern,
593 * pattern, optionally ignoring Unicode Pattern_White_Space characters.
594 * See the class description for the syntax of the pattern language.
596 * @param pattern a string specifying what characters are in the set
597 * @param options bitmask for options to apply to the pattern.
601 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
603 *<em> Empties the set passed before applying the pattern.</em>
607 UnicodeSet& applyPattern(const UnicodeString& pattern,
613 * Parses the given pattern, starting at the given position. The
614 * character at pattern.charAt(pos.getIndex()) must be '[', or the
620 * pairs list for the parsed pattern is returned. This method calls
622 *<em> Empties the set passed before applying the pattern.</em>
625 * @param pattern the string containing the pattern to be parsed.
629 * The character at pattern.charAt(pos.getIndex()) must be a '['.
631 * the character after the closing ']' of the parsed pattern, or
632 * pattern.length() if the closing ']' is the last character of
633 * the pattern string.
634 * @param options bitmask for options to apply to the pattern.
638 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
643 UnicodeSet& applyPattern(const UnicodeString& pattern,
1478 // Implementation: Pattern parsing
1520 * Return true if the given position, in the given pattern, appears
1521 * to be the start of a property set pattern [:foo:], \\p{foo}, or
1524 static UBool resemblesPropertyPattern(const UnicodeString& pattern,
1531 * Parse the given property pattern at the given parse position
1556 * @param pattern the pattern string
1569 UnicodeSet& applyPropertyPattern(const UnicodeString& pattern,
1600 * Set the new pattern to cache.
1604 * Release existing cached pattern.