diff options
Diffstat (limited to 'deps/icu-small/source/i18n/unicode/regex.h')
-rw-r--r-- | deps/icu-small/source/i18n/unicode/regex.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/deps/icu-small/source/i18n/unicode/regex.h b/deps/icu-small/source/i18n/unicode/regex.h index 2f8d31d97f..8ee74c3903 100644 --- a/deps/icu-small/source/i18n/unicode/regex.h +++ b/deps/icu-small/source/i18n/unicode/regex.h @@ -116,7 +116,7 @@ public: * were constructed from identical source patterns using the same #URegexpFlag * settings. * @param that a RegexPattern object to compare with "this". - * @return TRUE if the objects are equivalent. + * @return true if the objects are equivalent. * @stable ICU 2.4 */ UBool operator==(const RegexPattern& that) const; @@ -126,7 +126,7 @@ public: * were constructed from identical source patterns using the same #URegexpFlag * settings. * @param that a RegexPattern object to compare with "this". - * @return TRUE if the objects are different. + * @return true if the objects are different. * @stable ICU 2.4 */ inline UBool operator!=(const RegexPattern& that) const {return ! operator ==(that);} @@ -764,7 +764,7 @@ public: /** * Attempts to match the entire input region against the pattern. * @param status A reference to a UErrorCode to receive any errors. - * @return TRUE if there is a match + * @return true if there is a match * @stable ICU 2.4 */ virtual UBool matches(UErrorCode &status); @@ -777,7 +777,7 @@ public: * A successful match must extend to the end of the input. * @param startIndex The input string (native) index at which to begin matching. * @param status A reference to a UErrorCode to receive any errors. - * @return TRUE if there is a match + * @return true if there is a match * @stable ICU 2.8 */ virtual UBool matches(int64_t startIndex, UErrorCode &status); @@ -793,7 +793,7 @@ public: * end(), and group() functions. * * @param status A reference to a UErrorCode to receive any errors. - * @return TRUE if there is a match at the start of the input string. + * @return true if there is a match at the start of the input string. * @stable ICU 2.4 */ virtual UBool lookingAt(UErrorCode &status); @@ -809,7 +809,7 @@ public: * * @param startIndex The input string (native) index at which to begin matching. * @param status A reference to a UErrorCode to receive any errors. - * @return TRUE if there is a match. + * @return true if there is a match. * @stable ICU 2.8 */ virtual UBool lookingAt(int64_t startIndex, UErrorCode &status); @@ -824,7 +824,7 @@ public: * Note that if the input string is changed by the application, * use find(startPos, status) instead of find(), because the saved starting * position may not be valid with the altered input string. - * @return TRUE if a match is found. + * @return true if a match is found. * @stable ICU 2.4 */ virtual UBool find(); @@ -841,7 +841,7 @@ public: * use find(startPos, status) instead of find(), because the saved starting * position may not be valid with the altered input string. * @param status A reference to a UErrorCode to receive any errors. - * @return TRUE if a match is found. + * @return true if a match is found. * @stable ICU 55 */ virtual UBool find(UErrorCode &status); @@ -852,7 +852,7 @@ public: * * @param start The (native) index in the input string to begin the search. * @param status A reference to a UErrorCode to receive any errors. - * @return TRUE if a match is found. + * @return true if a match is found. * @stable ICU 2.4 */ virtual UBool find(int64_t start, UErrorCode &status); @@ -1271,7 +1271,7 @@ public: * See useTransparentBounds for a description of transparent and opaque bounds. * By default, a matcher uses opaque region boundaries. * - * @return TRUE if this matcher is using opaque bounds, false if it is not. + * @return true if this matcher is using opaque bounds, false if it is not. * @stable ICU 4.0 */ virtual UBool hasTransparentBounds() const; @@ -1290,7 +1290,7 @@ public: * * By default, a matcher uses opaque bounds. * - * @param b TRUE for transparent bounds; FALSE for opaque bounds + * @param b true for transparent bounds; false for opaque bounds * @return This Matcher; * @stable ICU 4.0 **/ @@ -1301,7 +1301,7 @@ public: * Return true if this matcher is using anchoring bounds. * By default, matchers use anchoring region bounds. * - * @return TRUE if this matcher is using anchoring bounds. + * @return true if this matcher is using anchoring bounds. * @stable ICU 4.0 */ virtual UBool hasAnchoringBounds() const; @@ -1315,7 +1315,7 @@ public: * * Anchoring Bounds are the default for regions. * - * @param b TRUE if to enable anchoring bounds; FALSE to disable them. + * @param b true if to enable anchoring bounds; false to disable them. * @return This Matcher * @stable ICU 4.0 */ @@ -1323,26 +1323,26 @@ public: /** - * Return TRUE if the most recent matching operation attempted to access + * Return true if the most recent matching operation attempted to access * additional input beyond the available input text. * In this case, additional input text could change the results of the match. * * hitEnd() is defined for both successful and unsuccessful matches. - * In either case hitEnd() will return TRUE if if the end of the text was + * In either case hitEnd() will return true if if the end of the text was * reached at any point during the matching process. * - * @return TRUE if the most recent match hit the end of input + * @return true if the most recent match hit the end of input * @stable ICU 4.0 */ virtual UBool hitEnd() const; /** - * Return TRUE the most recent match succeeded and additional input could cause + * Return true the most recent match succeeded and additional input could cause * it to fail. If this method returns false and a match was found, then more input * might change the match but the match won't be lost. If a match was not found, * then requireEnd has no meaning. * - * @return TRUE if more input could cause the most recent match to no longer match. + * @return true if more input could cause the most recent match to no longer match. * @stable ICU 4.0 */ virtual UBool requireEnd() const; @@ -1781,7 +1781,7 @@ private: inline REStackFrame *StateSave(REStackFrame *fp, int64_t savePatIdx, UErrorCode &status); void IncrementTime(UErrorCode &status); - // Call user find callback function, if set. Return TRUE if operation should be interrupted. + // Call user find callback function, if set. Return true if operation should be interrupted. inline UBool findProgressInterrupt(int64_t matchIndex, UErrorCode &status); int64_t appendGroup(int32_t groupNum, UText *dest, UErrorCode &status) const; |