Lines Matching refs:pattern
30 * regular expression. They are created from a regular expression pattern string,
31 * and can be used to create <code>RegexMatcher</code> objects for the pattern.</p>
34 * pattern and a target string to which the search pattern will be applied.
40 * expression pattern strings application code can be simplified and the explicit
74 * RBBIPatternDump Debug function, displays the compiled form of a pattern.
89 * of a regular expression, methods for creating RegexMatchers that allow the pattern
102 * pattern. Not normally needed; RegexPattern objects are usually
112 * @param source the pattern object to be copied.
167 * objects created from the pattern are active. RegexMatchers keep a pointer
168 * back to their pattern, so premature deletion of the pattern is a
171 * <p>All pattern match mode flags are set to their default values.</p>
174 * from a pattern string rather than separately compiling the pattern and
175 * then creating a RegexMatcher object from the pattern.</p>
181 * @return A regexPattern object for the compiled pattern.
196 * objects created from the pattern are active. RegexMatchers keep a pointer
197 * back to their pattern, so premature deletion of the pattern is a
201 * from a pattern string instead of than separately compiling the pattern and
202 * then creating a RegexMatcher object from the pattern.</p>
209 * @return A regexPattern object for the compiled pattern.
226 * objects created from the pattern are active. RegexMatchers keep a pointer
227 * back to their pattern, so premature deletion of the pattern is a
231 * from a pattern string instead of than separately compiling the pattern and
232 * then creating a RegexMatcher object from the pattern.</p>
237 * @return A regexPattern object for the compiled pattern.
247 * Get the match mode flags that were used when compiling this pattern.
254 * Creates a RegexMatcher that will match the given input against this pattern. The
260 * pattern matching operations happen directly on this original string. It is
266 * @return A RegexMatcher object for this pattern and input.
291 * Creates a RegexMatcher that will match against this pattern. The
297 * @return A RegexMatcher object for this pattern and input.
307 * Note that if the same pattern needs to be applied repeatedly, this method will be
325 * Returns the regular expression from which this pattern was compiled.
328 virtual UnicodeString pattern() const;
333 * The pattern matches identify delimiters that separate the input
341 * match the pattern (in the "this" object)
380 UnicodeString fPattern; // The original pattern string.
381 uint32_t fFlags; // The flags used when compiling the pattern.
383 UVector32 *fCompiledPat; // The compiled pattern p-code.
384 UnicodeString fLiteralText; // Any literal string data from the pattern,
387 UVector *fSets; // Any UnicodeSets referenced from the pattern.
402 int32_t fDataSize; // The size of the data needed by the pattern that
443 * class RegexMatcher bundles together a reular expression pattern and
479 * pattern matching operations happen directly on the original string. It is
520 * Attempts to match the entire input region against the pattern.
544 * against the pattern. Like the matches() method, this function
559 * Attempts to match the input string, starting from the specified index, against the pattern.
574 * Find the next pattern match in the input string.
590 * input string that matches the pattern, starting at the specified index.
602 * If the pattern can match an empty string, an empty string may be returned.
628 * Returns the number of capturing groups in this matcher's pattern.
648 * the capture group exists in the pattern, but was not part of the last match.
683 * Return -1 if the capture group exists in the pattern but was not part of the match.
722 * @param input The new string on which subsequent pattern matches will operate.
842 * With anchoring bounds, pattern anchors such as ^ and $ will match at the start
884 * Returns the pattern that is interpreted by this matcher.
888 virtual const RegexPattern &pattern() const;
892 * Replaces every substring of the input that matches the pattern
897 * looking for matches of the pattern. Input that is not part of any
912 * the pattern with the replacement string. This is a convenience
916 * looking for a match of the pattern. Input that is not part
946 * the input text that matched the regexp pattern. The replacement
953 * does not exist in the pattern.
979 * The pattern matches identify delimiters that separate the input
985 * match the pattern (in the "this" object). This matcher
1017 * of the processor and the details of the specific pattern, but will
1046 * A limit is desirable because a malicious or poorly designed pattern can use
1157 RegexPattern *fPatternOwned; // Non-NULL if this matcher owns the pattern, and
1201 int32_t *fData; // Data area for use by the compiled pattern.