Lines Matching refs:lookingAt
107 // for the LookingAt() and Match() functions.
110 // REGEX_TESTLM("pattern", "input text", lookingAt expected, matches expected);
148 actualmatch = REMatcher->lookingAt(status);
150 errln("RegexTest failure in lookingAt() at line %d. Status = %s\n",
155 errln("RegexTest: wrong return from lookingAt() at line %d.\n", line);
416 REGEX_ASSERT(m1->lookingAt(status) == TRUE);
419 REGEX_ASSERT(m1->lookingAt(status) == FALSE);
423 REGEX_ASSERT(m1->lookingAt(status) == TRUE);
425 REGEX_ASSERT(m1->lookingAt(status) == FALSE);
436 REGEX_ASSERT(m1->lookingAt(status) == TRUE);
496 // lookingAt(pos, status)
500 REGEX_ASSERT(m1->lookingAt(4, status) == TRUE);
501 REGEX_ASSERT(m1->lookingAt(5, status) == FALSE);
502 REGEX_ASSERT(m1->lookingAt(3, status) == FALSE);
503 REGEX_ASSERT(m1->lookingAt(4, status) == TRUE);
504 REGEX_ASSERT(m1->lookingAt(-1, status) == FALSE);
508 REGEX_ASSERT(m1->lookingAt(len, status) == FALSE);
510 REGEX_ASSERT(m1->lookingAt(len+1, status) == FALSE);
536 REGEX_ASSERT(matcher->lookingAt(status) == TRUE);
563 matcher->lookingAt(status);
804 REGEX_ASSERT(m1.lookingAt(status) == TRUE);
811 REGEX_ASSERT(m2.lookingAt(status) == TRUE);
818 REGEX_ASSERT(m3.lookingAt(status) == TRUE);
861 REGEX_ASSERT(matcher.lookingAt(status) == FALSE);
871 REGEX_ASSERT(matcher.lookingAt(status) == FALSE);
887 REGEX_ASSERT(matcher.lookingAt(status) == FALSE);
894 REGEX_ASSERT(matcher.lookingAt(status) == TRUE);
901 REGEX_ASSERT(matcher.lookingAt(status) == FALSE);
1486 if (commentMat.lookingAt(status)) {
1495 if (quotedStuffMat.lookingAt(status)) {
1508 flagsMat.lookingAt(status); // Will always match, possibly an empty string.
1522 if (quotedStuffMat.lookingAt(status)) {
1534 if (commentMat.lookingAt(status) == FALSE) {
1744 // error on both matches() and lookingAt().
1750 isMatch = matcher->lookingAt(status);
2275 else if (groupsMat->lookingAt(status)) {
2293 else if (cgMat->lookingAt(status)) {