Home | History | Annotate | Download | only in unicode

Lines Matching refs:RegexMatcher

30  *  <code>RegexPattern</code> and <code>RegexMatcher</code>.
33 * and can be used to create <code>RegexMatcher</code> objects for the pattern.</p>
35 * <p>Class <code>RegexMatcher</code> bundles together a regular expression
37 * <code>RegexMatcher</code> includes API for doing plain find or search
41 * <p>Note that by constructing <code>RegexMatcher</code> objects directly from regular
66 class RegexMatcher;
109 * RegexMatcher objects that were created from the RegexPattern are active.
156 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
163 * <p>Note that it is often more convenient to construct a RegexMatcher directly
165 * then creating a RegexMatcher object from the pattern.</p>
184 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
191 * <p>Note that it is often more convenient to construct a RegexMatcher directly
193 * then creating a RegexMatcher object from the pattern.</p>
197 * RegexPattern object or any RegexMatcher object created from it.
215 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
220 * <p>Note that it is often more convenient to construct a RegexMatcher directly
222 * then creating a RegexMatcher object from the pattern.</p>
244 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
249 * <p>Note that it is often more convenient to construct a RegexMatcher directly
251 * then creating a RegexMatcher object from the pattern.</p>
255 * RegexPattern object or any RegexMatcher object created from it.
275 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
280 * <p>Note that it is often more convenient to construct a RegexMatcher directly
282 * then creating a RegexMatcher object from the pattern.</p>
301 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher
306 * <p>Note that it is often more convenient to construct a RegexMatcher directly
308 * then creating a RegexMatcher object from the pattern.</p>
312 * RegexPattern object or any RegexMatcher object created from it.
331 * Creates a RegexMatcher that will match the given input against this pattern. The
332 * RegexMatcher can then be used to perform match, find or replace operations
343 * @return A RegexMatcher object for this pattern and input.
347 virtual RegexMatcher *matcher(const UnicodeString &input,
363 RegexMatcher *matcher(const UChar *input,
369 * Creates a RegexMatcher that will match against this pattern. The
370 * RegexMatcher can be used to perform match, find or replace operations.
375 * @return A RegexMatcher object for this pattern and input.
379 virtual RegexMatcher *matcher(UErrorCode &status) const;
386 * less efficient than creating and reusing a RegexMatcher object.
405 * less efficient than creating and reusing a RegexMatcher object.
499 * <code>RegexMatcher::split</code> is preferable to this function
543 * <code>RegexMatcher::split</code> is preferable to this function
632 friend class RegexMatcher;
656 * class RegexMatcher bundles together a regular expression pattern and
660 * <p>Class RegexMatcher is not intended to be subclassed.</p>
664 class U_I18N_API RegexMatcher U_FINAL : public UObject {
668 * Construct a RegexMatcher for a regular expression.
673 * its matcher() method to create the RegexMatcher objects.
681 RegexMatcher(const UnicodeString &regexp, uint32_t flags, UErrorCode &status);
684 * Construct a RegexMatcher for a regular expression.
689 * its matcher() method to create the RegexMatcher objects.
698 RegexMatcher(UText *regexp, uint32_t flags, UErrorCode &status);
701 * Construct a RegexMatcher for a regular expression.
706 * its matcher() method to create the RegexMatcher objects.
721 RegexMatcher(const UnicodeString &regexp, const UnicodeString &input,
725 * Construct a RegexMatcher for a regular expression.
730 * its matcher() method to create the RegexMatcher objects.
745 RegexMatcher(UText *regexp, UText *input,
761 RegexMatcher(const UnicodeString &regexp, const UChar *input,
771 virtual ~RegexMatcher();
859 * Resets this RegexMatcher and then attempts to find the next substring of the
1070 * @return this RegexMatcher.
1073 virtual RegexMatcher &reset();
1088 * @return this RegexMatcher.
1091 virtual RegexMatcher &reset(int64_t index, UErrorCode &status);
1095 * Resets this matcher with a new input string. This allows instances of RegexMatcher
1096 * to be reused, which is more efficient than creating a new RegexMatcher for
1108 * @return this RegexMatcher.
1111 virtual RegexMatcher &reset(const UnicodeString &input);
1115 * Resets this matcher with a new input string. This allows instances of RegexMatcher
1116 * to be reused, which is more efficient than creating a new RegexMatcher for
1123 * @return this RegexMatcher.
1127 virtual RegexMatcher &reset(UText *input);
1154 virtual RegexMatcher &refreshInputText(UText *input, UErrorCode &status);
1169 RegexMatcher &reset(const UChar *input);
1222 virtual RegexMatcher &region(int64_t start, int64_t limit, UErrorCode &status);
1235 virtual RegexMatcher &region(int64_t regionStart, int64_t regionLimit, int64_t startIndex, UErrorCode &status);
1306 virtual RegexMatcher &useTransparentBounds(UBool b);
1331 virtual RegexMatcher &useAnchoringBounds(UBool b);
1362 * @return the RegexPattern for this RegexMatcher
1415 * <p>This function first resets this RegexMatcher. It then scans the input string
1423 * RegexMatcher should be reset before doing additional find() operations.</p>
1438 * <p>This function first resets this RegexMatcher. It then scans the input string
1446 * RegexMatcher should be reset before doing additional find() operations.</p>
1483 * @return this RegexMatcher
1487 virtual RegexMatcher &appendReplacement(UnicodeString &dest,
1514 * @return this RegexMatcher
1518 virtual RegexMatcher &appendReplacement(UText *dest,
1526 * or more invocations of the <code>RegexMatcher::appendReplacement()</code>.
1539 * or more invocations of the <code>RegexMatcher::appendReplacement()</code>.
1762 // Instances of RegexMatcher can not be assigned, copied, cloned, etc.
1763 RegexMatcher(); // default constructor not implemented
1764 RegexMatcher(const RegexPattern *pat);
1765 RegexMatcher(const RegexMatcher &other);
1766 RegexMatcher &operator =(const RegexMatcher &rhs);