Home | History | Annotate | Download | only in doc

Lines Matching full:alternatives

247 The power of regular expressions comes from the ability to include alternatives
1124 If all the alternatives of a pattern begin with \eG, the expression is anchored
1152 alternatives are involved, but it should be the first thing in each alternative
1154 possible alternatives start with a circumflex, that is, if the pattern is
1163 character of the pattern if a number of alternatives are involved, but it
1515 matches either "gilbert" or "sullivan". Any number of alternatives may appear,
1518 that succeeds is used. If the alternatives are within a subpattern
1606 1. It localizes a set of alternatives. For example, the pattern
1664 Because the two alternatives are inside a (?| group, both sets of capturing
1668 alternatives. Inside a (?| group, parentheses are numbered as usual, but the
2289 have a fixed length. However, if there are several top-level alternatives, they
2416 no-pattern (if present) is used. If there are more than two alternatives in the
2417 subpattern, a compile-time error occurs. Each of the two alternatives may
2419 subpatterns; the restriction to two alternatives applies only at the level of
2420 the condition. This pattern fragment is an example where the alternatives are
2566 alternatives on the second line:
2748 different alternatives for the recursive and non-recursive cases. The (?R) item
2759 is never re-entered, even if it contains untried alternatives and there is a
2782 alternatives in the other order, things are different:
2801 write out the odd and even cases as alternatives at the higher level:
2822 recursion to try other alternatives, so the entire match fails.
2868 is never re-entered, even if it contains untried alternatives and there is a
3130 indicates which of the two alternatives matched. This is a more efficient way
3276 more alternatives, so there is a backtrack to whatever came before the entire
3301 because there are no more alternatives to try. In this case, matching does now
3305 alternatives, because only one is ever used. In other words, the | character in
3407 the subpattern that has alternatives. If there is no such group within the