Home | History | Annotate | Download | only in unicode

Lines Matching refs:RegexMatcher

28  *  <code>RegexPattern</code> and <code>RegexMatcher</code>.
31 * and can be used to create <code>RegexMatcher</code> objects for the pattern.</p>
33 * <p>Class <code>RegexMatcher</code> bundles together a regular expression
35 * <code>RegexMatcher</code> includes API for doing plain find or search
39 * <p>Note that by constructing <code>RegexMatcher</code> objects directly from regular
62 class RegexMatcher;
120 * RegexMatcher objects that were created from the RegexPattern are active.
167 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
174 * <p>Note that it is often more convenient to construct a RegexMatcher directly
176 * then creating a RegexMatcher object from the pattern.</p>
195 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
202 * <p>Note that it is often more convenient to construct a RegexMatcher directly
204 * then creating a RegexMatcher object from the pattern.</p>
208 * RegexPattern object or any RegexMatcher object created from it.
226 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
231 * <p>Note that it is often more convenient to construct a RegexMatcher directly
233 * then creating a RegexMatcher object from the pattern.</p>
255 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
260 * <p>Note that it is often more convenient to construct a RegexMatcher directly
262 * then creating a RegexMatcher object from the pattern.</p>
266 * RegexPattern object or any RegexMatcher object created from it.
286 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
291 * <p>Note that it is often more convenient to construct a RegexMatcher directly
293 * then creating a RegexMatcher object from the pattern.</p>
312 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
317 * <p>Note that it is often more convenient to construct a RegexMatcher directly
319 * then creating a RegexMatcher object from the pattern.</p>
323 * RegexPattern object or any RegexMatcher object created from it.
342 * Creates a RegexMatcher that will match the given input against this pattern. The
343 * RegexMatcher can then be used to perform match, find or replace operations
354 * @return A RegexMatcher object for this pattern and input.
358 virtual RegexMatcher *matcher(const UnicodeString &input,
375 RegexMatcher *matcher(const UChar *input,
381 * Creates a RegexMatcher that will match against this pattern. The
382 * RegexMatcher can be used to perform match, find or replace operations.
387 * @return A RegexMatcher object for this pattern and input.
391 virtual RegexMatcher *matcher(UErrorCode &status) const;
398 * less efficient than creating and reusing a RegexMatcher object.
417 * less efficient than creating and reusing a RegexMatcher object.
476 * <code>RegexMatcher::split</code> is preferable to this function
520 * <code>RegexMatcher::split</code> is preferable to this function
609 friend class RegexMatcher;
627 * class RegexMatcher bundles together a regular expression pattern and
631 * <p>Class RegexMatcher is not intended to be subclassed.</p>
635 class U_I18N_API RegexMatcher: public UObject {
639 * Construct a RegexMatcher for a regular expression.
644 * its matcher() method to create the RegexMatcher objects.
652 RegexMatcher(const UnicodeString &regexp, uint32_t flags, UErrorCode &status);
655 * Construct a RegexMatcher for a regular expression.
660 * its matcher() method to create the RegexMatcher objects.
669 RegexMatcher(UText *regexp, uint32_t flags, UErrorCode &status);
672 * Construct a RegexMatcher for a regular expression.
677 * its matcher() method to create the RegexMatcher objects.
692 RegexMatcher(const UnicodeString &regexp, const UnicodeString &input,
696 * Construct a RegexMatcher for a regular expression.
701 * its matcher() method to create the RegexMatcher objects.
716 RegexMatcher(UText *regexp, UText *input,
733 RegexMatcher(const UnicodeString &regexp, const UChar *input,
743 virtual ~RegexMatcher();
816 * Resets this RegexMatcher and then attempts to find the next substring of the
1038 * @return this RegexMatcher.
1041 virtual RegexMatcher &reset();
1056 * @return this RegexMatcher.
1059 virtual RegexMatcher &reset(int64_t index, UErrorCode &status);
1063 * Resets this matcher with a new input string. This allows instances of RegexMatcher
1064 * to be reused, which is more efficient than creating a new RegexMatcher for
1076 * @return this RegexMatcher.
1079 virtual RegexMatcher &reset(const UnicodeString &input);
1083 * Resets this matcher with a new input string. This allows instances of RegexMatcher
1084 * to be reused, which is more efficient than creating a new RegexMatcher for
1091 * @return this RegexMatcher.
1095 virtual RegexMatcher &reset(UText *input);
1122 virtual RegexMatcher &refreshInputText(UText *input, UErrorCode &status);
1138 RegexMatcher &reset(const UChar *input);
1191 virtual RegexMatcher &region(int64_t start, int64_t limit, UErrorCode &status);
1204 virtual RegexMatcher &region(int64_t regionStart, int64_t regionLimit, int64_t startIndex, UErrorCode &status);
1275 virtual RegexMatcher &useTransparentBounds(UBool b);
1300 virtual RegexMatcher &useAnchoringBounds(UBool b);
1331 * @return the RegexPattern for this RegexMatcher
1384 * <p>This function first resets this RegexMatcher. It then scans the input string
1392 * RegexMatcher should be reset before doing additional find() operations.</p>
1407 * <p>This function first resets this RegexMatcher. It then scans the input string
1415 * RegexMatcher should be reset before doing additional find() operations.</p>
1452 * @return this RegexMatcher
1456 virtual RegexMatcher &appendReplacement(UnicodeString &dest,
1483 * @return this RegexMatcher
1487 virtual RegexMatcher &appendReplacement(UText *dest,
1495 * or more invocations of the <code>RegexMatcher::appendReplacement()</code>.
1508 * or more invocations of the <code>RegexMatcher::appendReplacement()</code>.
1731 // Instances of RegexMatcher can not be assigned, copied, cloned, etc.
1732 RegexMatcher(); // default constructor not implemented
1733 RegexMatcher(const RegexPattern *pat);
1734 RegexMatcher(const RegexMatcher &other);
1735 RegexMatcher &operator =(const RegexMatcher &rhs);