Lines Matching refs:pattern
247 // This handles the common setup to be done after the Pattern is available.
417 // number that is valid for this pattern.
625 // (without this test, a pattern with a zero-length match
673 // Note that it's perfectly OK for a pattern to have a zero-length
683 // (pattern begins with ^ or \A)
802 // Note that it's perfectly OK for a pattern to have a zero-length
832 // Note that it's perfectly OK for a pattern to have a zero-length
911 // (without this test, a pattern with a zero-length match
950 // Note that it's perfectly OK for a pattern to have a zero-length
960 // (pattern begins with ^ or \A)
1061 // Note that it's perfectly OK for a pattern to have a zero-length
1089 // Note that it's perfectly OK for a pattern to have a zero-length
1652 // pattern
1655 const RegexPattern &RegexMatcher::pattern() const {
2082 // Loop through the input text, searching for the delimiter pattern
2170 // If the delimiter pattern has capturing parentheses, the captured
2385 // to be big enough to hold at least one stack frame for the pattern,
2685 // Set the pattern index in the original stack frame from the operand value
2695 // savePatIdx An index into the compiled pattern. Goes into the original
2697 // new frame, this will be where we continue from in the pattern.
2750 int32_t op; // Operation from the compiled pattern, split into
2758 printf("Original Pattern: ");
2788 // Cache frequently referenced items from the compiled pattern
2801 // Zero out the pattern's static data
2808 // Main loop for interpreting the compiled pattern.
2809 // One iteration of the loop per pattern operation performed.
2839 // Force a backtrack. In some circumstances, the pattern compiler
2840 // will notice that the pattern can't possibly match anything, and will
2894 // Strings require two slots in the compiled pattern, one for the
2979 // when we reach the end of the pattern.
2981 // The pattern matched, but not to the end of input. Try some more.
3661 // skip the pattern location counter past
3713 // skip the pattern location counter past
3752 // continue with the following pattern.
3763 // Fall into the following pattern, but first do
3765 // in the following pattern will try another iteration of the loop.
3945 // Strings require two slots in the compiled pattern, one for the
4082 // of this op in the pattern.
4227 // by the successful pattern match.
4244 // The following LOOP_C op emulates stack unwinding if the following pattern fails.
4279 // Peek ahead in the compiled pattern, to the URX_LOOP_C that
4294 // Then bump the pattern idx so the LOOP_C is skipped on the way out of here.
4304 // The following LOOP_C op emulates stack unwinding if the following pattern fails.
4343 // Peek ahead in the compiled pattern, to the URX_LOOP_C that
4358 // Then bump the pattern idx so the LOOP_C is skipped on the way out of here.
4405 // Trouble. The compiled pattern contains an entry with an
4457 int32_t op; // Operation from the compiled pattern, split into
4465 printf("Original Pattern: ");
4495 // Cache frequently referenced items from the compiled pattern
4510 // Zero out the pattern's static data
4517 // Main loop for interpreting the compiled pattern.
4518 // One iteration of the loop per pattern operation performed.
4548 // Force a backtrack. In some circumstances, the pattern compiler
4549 // will notice that the pattern can't possibly match anything, and will
4599 // Strings require two slots in the compiled pattern, one for the
4685 // when we reach the end of the pattern.
4687 // The pattern matched, but not to the end of input. Try some more.
5333 // skip the pattern location counter past
5385 // skip the pattern location counter past
5424 // continue with the following pattern.
5435 // Fall into the following pattern, but first do
5437 // in the following pattern will try another iteration of the loop.
5622 // Strings require two slots in the compiled pattern, one for the
5763 // of this op in the pattern.
5904 // by the successful pattern match.
5921 // The following LOOP_C op emulates stack unwinding if the following pattern fails.
5957 // Peek ahead in the compiled pattern, to the URX_LOOP_C that
5972 // Then bump the pattern idx so the LOOP_C is skipped on the way out of here.
5982 // The following LOOP_C op emulates stack unwinding if the following pattern fails.
6022 // Peek ahead in the compiled pattern, to the URX_LOOP_C that
6037 // Then bump the pattern idx so the LOOP_C is skipped on the way out of here.
6082 // Trouble. The compiled pattern contains an entry with an