Home | History | Annotate | Download | only in dist

Lines Matching refs:REPEAT

465   "nothing to repeat\0"
468 "internal error: unexpected repeat\0"
945 * Check for counted repeat *
1588 * Read repeat counts *
1592 after is_counted_repeat() has confirmed that a repeat-count quantifier exists,
1777 because they all imply an unlimited repeat. */
2379 below and from compile_branch() when checking for an unlimited repeat of a
2571 default: /* Non-repeat => class must match */
3302 /* Might be an empty repeat. */
3355 /* Might be an empty repeat. */
3481 /* Might be an empty repeat. */
4526 When we hit a repeat whose minimum is zero, we may have to adjust these values
4527 to take the zero repeat into account. This is implemented by setting them to
4528 zerofirstbyte and zeroreqchar when such a repeat is encountered. The individual
5413 this item is first, whatever repeat count may follow. In the case of
5518 setting, whatever the repeat count. Any reqchar setting must remain
5519 unchanged after any kind of repeat. */
5597 /* Various kinds of repeat; '{' is not necessarily a quantifier, but this
5604 goto REPEAT;
5609 goto REPEAT;
5614 goto REPEAT;
5620 REPEAT:
5629 firstchar = zerofirstchar; /* Adjust for zero repeat */
5635 /* Remember whether this is a variable length repeat */
5677 If the next character is '?' this is a minimizing repeat, by default,
5679 repeat type to the non-default. */
5724 and generate a repeat item instead. If a char item has a minimum of more
5773 create a suitable repeat item. The code is shared with single-character
5820 /* A repeat minimum of 1 is optimized into some special cases. If the
5931 /* If previous was a character class or a back reference, we put the repeat
5932 stuff after it, but just skip the item if the repeat was {0,0}. */
5980 we just ignore the repeat. */
5987 if the minimum is greater than zero, just ignore the repeat. If the
6352 by (*FAIL) or (?!) set previous to NULL, which gives a "nothing to repeat"
6353 error above. We can just ignore the repeat in JS case. */
6365 /* If the character following a repeat is '+', possessive_quantifier is
6412 /* For the class opcodes, the repeat operator appears at the end;
6430 all other cases, tempcode will be pointing to the repeat opcode, and will
7815 zero repeat, we have to back off. Hence the definition of zeroreqchar and
7828 subpattern, remembering that it was set here so that a repeat of more
7831 repeat forces firstchar to "none". */
7915 /* Set values to reset to if this is followed by a zero repeat. */
8150 byte, set it from this character, but revert to none on a zero repeat.
8152 repeat. */