Lines Matching refs:subpatterns

1463        If this bit is set, names used to identify capturing  subpatterns  need
1466 matched. There are more details of named subpatterns below; see also
1498 introduce various parenthesized subpatterns, nor within numerical quan-
2025 third argument should point to an uint32_t variable. Named subpatterns
2043 subpatterns. The third argument should point to an uint32_t variable.
2225 Duplicate names for subpatterns with different numbers are permitted,
2229 necessarily the case because later subpatterns may have lower numbers.
2238 There are four named subpatterns, so the table has four entries, and
2248 When writing code to extract data from named subpatterns using the
2647 how many capturing subpatterns there are in a compiled pattern.
2698 return from the function is 4, and subpatterns 1 and 3 are matched, but
2700 sponding to unused subpatterns are set to PCRE2_UNSET.
2702 Offset values that correspond to unused subpatterns at the end of the
2704 "abc" is matched against the pattern (abc)(x(yz)?)? subpatterns 2 and 3
2707 ond and third capturing subpatterns (assuming the vector is large
2877 subpatterns, cannot be detected until matching is attempted.
3074 distinguish the different subpatterns, because names are not included
3076 reason, the use of different names for subpatterns of the same number
3312 subpatterns are not required to be unique. Duplicate names are always
3313 allowed for subpatterns with the same number, created by using the (?|
3314 feature. Indeed, if such subpatterns are named, they are required to
3318 only one of the named subpatterns participates. An example is shown in
4563 3. Capturing subpatterns that occur inside negative lookaround asser-
4624 | characters. Note that such subpatterns are processed as anchored at
5177 There is no limit to the number of parenthesized subpatterns, but there
5178 can be no more than 65535 capturing subpatterns. There is, however, a
5179 limit to the depth of nesting of parenthesized subpatterns of all
5187 the maximum number of named subpatterns is 10000.
6268 ing the discussion of parenthesized subpatterns. Otherwise, up to
6279 previous capturing subpatterns
6354 later, following the discussion of parenthesized subpatterns.
6778 use of subpatterns for more complicated assertions is described below.
7263 below for a description of subpatterns) affects only that part of the
7322 obtain numbers for the capturing subpatterns. For example, if the
7335 capturing subpatterns. For example, if the string "the white queen" is
7341 1 and 2. The maximum number of capturing subpatterns is 65535.
7397 unique number, the test is true if any of the subpatterns of that num-
7401 duplicate named subpatterns, as described in the next section.
7423 turing subpatterns are primarily identified by numbers; any names are
7431 to all of them. Perl allows identically numbered subpatterns to have
7433 subpatterns, both numbered 1:
7454 cate names are permitted for subpatterns with the same number, for
7482 where in the pattern, the subpatterns to which the name refers are
7496 to check for recursion, all subpatterns with the same name are tested.
7499 details of the interfaces for handling named subpatterns, see the
7552 ful for subpatterns that are referenced as subroutines from elsewhere
7553 in the pattern (but see also the section entitled "Defining subpatterns
7554 for use by reference only" below). Items other than subpatterns that
7658 is "tweedledee". However, if there are nested capturing subpatterns,
7704 Atomic grouping subpatterns are not capturing subpatterns. Simple cases
7712 subpatterns, and can be nested. However, when the subpattern for an
7841 subpatterns. The .NET syntax \k{name} and the Perl syntax \k<name> or
7902 More complicated assertions are coded as subpatterns. There are two
7911 Assertion subpatterns are not capturing subpatterns. If an assertion
7912 contains capturing subpatterns within it, these are counted for the
7913 purposes of numbering the capturing subpatterns in the whole pattern.
7935 For compatibility with Perl, most assertion subpatterns may be
8109 ditionally or to choose between two alternative subpatterns, depending
8121 alternatives may itself contain nested subpatterns of any form, includ-
8122 ing conditional subpatterns; the restriction to two alternatives
8129 There are five kinds of condition: references to subpatterns, refer-
8187 is applied to all subpatterns of the same name, and is true if any one
8222 duplicate, the test is applied to all subpatterns of the same name, and
8227 Defining subpatterns for use by reference only
8283 When an assertion that is a condition contains capturing subpatterns,
8543 The behaviour of backtracking control verbs in subpatterns when called
8683 subpatterns called as subroutines (whether or not recursively) is docu-
9321 long subject strings is to write repeated parenthesized subpatterns to
9510 of capturing subpatterns in the regular expression. Various error codes
9619 elements relate to the capturing subpatterns of the regular expression.