Lines Matching refs:requireEnd
977 // hitEnd() and requireEnd()
985 REGEX_ASSERT(m1.requireEnd() == FALSE);
992 REGEX_ASSERT(m2.requireEnd() == FALSE);
999 REGEX_ASSERT(m3.requireEnd() == TRUE);
2085 // hitEnd() and requireEnd()
2097 REGEX_ASSERT(m1.requireEnd() == FALSE);
2105 REGEX_ASSERT(m2.requireEnd() == FALSE);
2113 REGEX_ASSERT(m3.requireEnd() == TRUE);
3275 if ((flags.indexOf((UChar)0x59) >= 0) && // 'Y' flag: RequireEnd() == false
3276 matcher->requireEnd() == TRUE) {
3277 errln("Error at line %d: requireEnd() returned TRUE. Expected FALSE", line);
3279 } else if (UTF8Matcher != NULL && (flags.indexOf((UChar)0x59) >= 0) && // 'Y' flag: RequireEnd() == false
3280 UTF8Matcher->requireEnd() == TRUE) {
3281 errln("Error at line %d: requireEnd() returned TRUE. Expected FALSE (UTF8)", line);
3285 if ((flags.indexOf((UChar)0x79) >= 0) && // 'y' flag: RequireEnd() == true
3286 matcher->requireEnd() == FALSE) {
3287 errln("Error at line %d: requireEnd() returned FALSE. Expected TRUE", line);
3289 } else if (UTF8Matcher != NULL && (flags.indexOf((UChar)0x79) >= 0) && // 'Y' flag: RequireEnd() == false
3290 UTF8Matcher->requireEnd() == FALSE) {
3291 errln("Error at line %d: requireEnd() returned FALSE. Expected TRUE (UTF8)", line);