Lines Matching refs:lookingAt
162 // for the LookingAt() and Match() functions.
165 // REGEX_TESTLM("pattern", "input text", lookingAt expected, matches expected);
203 actualmatch = REMatcher->lookingAt(status);
205 errln("RegexTest failure in lookingAt() at line %d. Status = %s\n",
210 errln("RegexTest: wrong return from lookingAt() at line %d.\n", line);
279 actualmatch = REMatcher->lookingAt(status);
281 errln("RegexTest failure in lookingAt() at line %d (UTF8). Status = %s\n",
286 errln("RegexTest: wrong return from lookingAt() at line %d (UTF8).\n", line);
595 REGEX_ASSERT(m1->lookingAt(status) == TRUE);
598 REGEX_ASSERT(m1->lookingAt(status) == FALSE);
602 REGEX_ASSERT(m1->lookingAt(status) == TRUE);
604 REGEX_ASSERT(m1->lookingAt(status) == FALSE);
615 REGEX_ASSERT(m1->lookingAt(status) == TRUE);
675 // lookingAt(pos, status)
679 REGEX_ASSERT(m1->lookingAt(4, status) == TRUE);
680 REGEX_ASSERT(m1->lookingAt(5, status) == FALSE);
681 REGEX_ASSERT(m1->lookingAt(3, status) == FALSE);
682 REGEX_ASSERT(m1->lookingAt(4, status) == TRUE);
683 REGEX_ASSERT(m1->lookingAt(-1, status) == FALSE);
687 REGEX_ASSERT(m1->lookingAt(len, status) == FALSE);
689 REGEX_ASSERT(m1->lookingAt(len+1, status) == FALSE);
715 REGEX_ASSERT(matcher->lookingAt(status) == TRUE);
742 matcher->lookingAt(status);
983 REGEX_ASSERT(m1.lookingAt(status) == TRUE);
990 REGEX_ASSERT(m2.lookingAt(status) == TRUE);
997 REGEX_ASSERT(m3.lookingAt(status) == TRUE);
1040 REGEX_ASSERT(matcher.lookingAt(status) == FALSE);
1050 REGEX_ASSERT(matcher.lookingAt(status) == FALSE);
1066 REGEX_ASSERT(matcher.lookingAt(status) == FALSE);
1073 REGEX_ASSERT(matcher.lookingAt(status) == TRUE);
1080 REGEX_ASSERT(matcher.lookingAt(status) == FALSE);
1628 REGEX_ASSERT(m1->lookingAt(status) == TRUE);
1631 REGEX_ASSERT(m1->lookingAt(status) == FALSE);
1635 REGEX_ASSERT(m1->lookingAt(status) == TRUE);
1637 REGEX_ASSERT(m1->lookingAt(status) == FALSE);
1647 REGEX_ASSERT(m1->lookingAt(status) == TRUE);
1704 // lookingAt(pos, status)
1708 REGEX_ASSERT(m1->lookingAt(4, status) == TRUE);
1709 REGEX_ASSERT(m1->lookingAt(5, status) == FALSE);
1710 REGEX_ASSERT(m1->lookingAt(3, status) == FALSE);
1711 REGEX_ASSERT(m1->lookingAt(4, status) == TRUE);
1712 REGEX_ASSERT(m1->lookingAt(-1, status) == FALSE);
1715 REGEX_ASSERT(m1->lookingAt(input2Len, status) == FALSE);
1717 REGEX_ASSERT(m1->lookingAt(input2Len+1, status) == FALSE);
1751 REGEX_ASSERT(matcher->lookingAt(status) == TRUE);
1778 matcher->lookingAt(status);
2095 REGEX_ASSERT(m1.lookingAt(status) == TRUE);
2103 REGEX_ASSERT(m2.lookingAt(status) == TRUE);
2111 REGEX_ASSERT(m3.lookingAt(status) == TRUE);
2848 if (commentMat.lookingAt(status)) {
2857 if (quotedStuffMat.lookingAt(status)) {
2870 flagsMat.lookingAt(status); // Will always match, possibly an empty string.
2884 if (quotedStuffMat.lookingAt(status)) {
2896 if (commentMat.lookingAt(status) == FALSE) {
3182 // error on both matches() and lookingAt().
3191 isMatch = matcher->lookingAt(status);
3193 isUTF8Match = UTF8Matcher->lookingAt(status);
3782 else if (groupsMat->lookingAt(status)) {
3800 else if (cgMat->lookingAt(status)) {
4170 else if (groupsMat->lookingAt(status)) {
4188 else if (cgMat->lookingAt(status)) {