Home | History | Annotate | Download | only in html

Lines Matching full:alternative

53 also supports some alternative regular expression syntax (which does not
67 (16- or 32-bit), is used. PCRE also has alternative matching functions,
71 disadvantages of the alternative functions, and how they differ from the normal
257 | start of alternative branch
495 a number enclosed either in angle brackets or single quotes, is an alternative
1118 alternatives are involved, but it should be the first thing in each alternative
1224 alternative (see
1460 Vertical bar characters are used to separate alternative patterns. For example,
1466 and an empty alternative is permitted (matching the empty string). The matching
1467 process tries each alternative in turn, from left to right, and the first one
1471 alternative in the subpattern.
1512 parts of the pattern. Any changes made in one alternative do carry on
1587 match exactly the same set of strings. Because alternative branches are tried
1594 Perl 5.10 introduced a feature whereby each alternative in a subpattern uses
1603 at captured substring number one, whichever alternative matched. This construct
1633 An alternative approach to using this "branch reset" feature is to use
1682 (An alternative way of solving this problem is to use a "branch reset"
1928 An alternative description is that a subpattern of this type matches the string
2237 The implementation of lookbehind assertions is, for each alternative, to
2320 conditionally or to choose between two alternative subpatterns, depending on
2352 the condition is true if any of them have matched. An alternative notation is
2430 alternative in the subpattern. It is always skipped if control reaches this
2463 subject is matched against the first alternative; otherwise it is matched
2565 An alternative approach is to use named parentheses instead. The Perl syntax
2640 of the string, the first alternative fails; the second alternative is taken
2650 try the second alternative.) However, if the pattern is written with the
2655 This time, the recursing alternative is tried first, and continues to recurse
2657 time we do have another alternative to try at the higher level. That is the big
2658 difference: in the previous case the remaining alternative is at a deeper
2706 second alternative matches "a" and then recurses. In the recursion, \1 does
2755 a number enclosed either in angle brackets or single quotes, is an alternative
2946 of obtaining this information than putting each alternative in its own
3043 simple cases, the use of (*PRUNE) is just an alternative to an atomic group or
3085 This verb causes a skip to the next innermost alternative when backtracking
3087 alternative. Its name comes from the observation that it can be used for a
3094 second alternative and tries COND2, without backtracking into COND1. If that
3106 enclosing alternative; it is not a nested alternation with only one
3107 alternative. The effect of (*THEN) extends beyond such a subpattern to the
3108 enclosing alternative. Consider this pattern, where A, B, etc. are complex
3114 backtrack into A; instead it moves to the next alternative, that is, D.
3115 However, if the subpattern containing (*THEN) is given an alternative, it
3137 character. The conditional subpattern is part of the single alternative that
3144 next alternative. (*PRUNE) comes next, failing the match at the current
3162 the next alternative (ABD) to be tried. This behaviour is consistent, but is
3198 positive assertion. In particular, (*THEN) skips to the next alternative in the
3206 without considering any further alternative branches in the assertion.
3207 Backtracking into (*THEN) causes it to skip to the next enclosing alternative
3209 such an alternative, (*THEN) behaves like (*PRUNE).
3232 (*THEN) skips to the next alternative in the innermost enclosing group within