Lines Matching defs: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
60 class RegexMatcher;
119 * RegexMatcher objects that were created from the RegexPattern are active.
166 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
173 * <p>Note that it is often more convenient to construct a RegexMatcher directly
175 * then creating a RegexMatcher object from the pattern.</p>
195 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
200 * <p>Note that it is often more convenient to construct a RegexMatcher directly
202 * then creating a RegexMatcher object from the pattern.</p>
225 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
230 * <p>Note that it is often more convenient to construct a RegexMatcher directly
232 * then creating a RegexMatcher object from the pattern.</p>
254 * Creates a RegexMatcher that will match the given input against this pattern. The
255 * RegexMatcher can then be used to perform match, find or replace operations
266 * @return A RegexMatcher object for this pattern and input.
270 virtual RegexMatcher *matcher(const UnicodeString &input,
285 RegexMatcher *matcher(const UChar *input,
291 * Creates a RegexMatcher that will match against this pattern. The
292 * RegexMatcher can be used to perform match, find or replace operations.
297 * @return A RegexMatcher object for this pattern and input.
301 virtual RegexMatcher *matcher(UErrorCode &status) const;
308 * less efficient than creating and reusing a RegexMatcher object.
338 * <code>RegexMatcher::split</code> is perferable to this function
425 friend class RegexMatcher;
443 * class RegexMatcher bundles together a reular expression pattern and
447 * <p>Class RegexMatcher is not intended to be subclassed.</p>
451 class U_I18N_API RegexMatcher: public UObject {
455 * Construct a RegexMatcher for a regular expression.
460 * its matcher() method to create the RegexMatcher objects.
468 RegexMatcher(const UnicodeString &regexp, uint32_t flags, UErrorCode &status);
471 * Construct a RegexMatcher for a regular expression.
476 * its matcher() method to create the RegexMatcher objects.
491 RegexMatcher(const UnicodeString &regexp, const UnicodeString &input,
506 RegexMatcher(const UnicodeString &regexp, const UChar *input,
516 virtual ~RegexMatcher();
589 * Resets this RegexMatcher and then attempts to find the next substring of the
694 * @return this RegexMatcher.
697 virtual RegexMatcher &reset();
712 * @return this RegexMatcher.
715 virtual RegexMatcher &reset(int32_t index, UErrorCode &status);
719 * Resets this matcher with a new input string. This allows instances of RegexMatcher
720 * to be reused, which is more efficient than creating a new RegexMatcher for
728 * @return this RegexMatcher.
731 virtual RegexMatcher &reset(const UnicodeString &input);
745 RegexMatcher &reset(const UChar *input);
776 virtual RegexMatcher &region(int32_t start, int32_t limit, UErrorCode &status);
828 virtual RegexMatcher &useTransparentBounds(UBool b);
852 virtual RegexMatcher &useAnchoringBounds(UBool b);
885 * @return the RegexPattern for this RegexMatcher
915 * <p>This function first resets this RegexMatcher. It then scans the input string
923 * RegexMatcher should be reset before doing additional find() operations.</p>
955 * @return this RegexMatcher
959 virtual RegexMatcher &appendReplacement(UnicodeString &dest,
967 * or more invocations of the <code>RegexMatcher::appendReplacement()</code>.
1128 // Instances of RegexMatcher can not be assigned, copied, cloned, etc.
1129 RegexMatcher(); // default constructor not implemented
1130 RegexMatcher(const RegexPattern *pat);
1131 RegexMatcher(const RegexMatcher &other);
1132 RegexMatcher &operator =(const RegexMatcher &rhs);