Lines Matching refs:matched
116 and any data against which it is matched to be checked for UTF-8 valid-
128 checking can take time. If the same data string is to be matched many
1392 is matched against the string
1402 The set of strings that are matched by a regular expression can be rep-
1434 strings that are matched by portions of the pattern in parentheses.
1468 is matched against the string "the caterpillar catchment", the result
1493 This pattern matches "aaab!" but not "aaa!", which would be matched by
1495 it is matched as if it were a standalone pattern at the current point,
1546 retaining partially matched substrings, it is more complicated. The
1774 string that is matched by pcre_exec(). They are:
1850 pattern is compiled, or when it is matched.
1973 tern is compiled or matched.
2097 when the pattern is matched. For more discussion, see the section on
2137 ting an option when a compiled pattern is matched.
2177 matched. There are more details of named subpatterns below; see also
2230 matched text may continue over the newline.
2402 checking of subject strings only. If the same string is being matched
2681 the reloaded pattern is matched. Attempting to use this facility to
2748 Return information about the first data unit of any matched string, for
2778 matched string in the situation where PCRE_INFO_FIRSTCHARACTERFLAGS
2789 Return information about the first data unit of any matched string, for
2848 any matched string, other than at its start, if such a value has been
3021 any matched string, other than at its start. The fourth argument should
3034 any matched string, other than at its start, if such a value has been
3216 compiled and matched in the same process, this field should never be
3455 The string to be matched by pcre_exec()
3540 portion of the subject string matched by the entire pattern. The next
3548 If a capturing subpattern is matched repeatedly, it is the last portion
3549 of the string that it matched that is returned.
3553 function returns a value of zero. If neither the actual string matched
3579 offsets of the substring matched by the whole pattern, is (n+1)*3.
3583 if the string "abc" is matched against the pattern (a|(z))(bc) the
3584 return from the function is 4, and subpatterns 1 and 3 are matched, but
3590 matched against the pattern (abc)(x(yz)?)? subpatterns 2 and 3 are not
3591 matched. The return from the function is 2, because the highest used
3745 using a JIT compile option is being matched, but the memory available
3764 using a JIT compile option is being matched, but the matching mode
3891 matched, ovector is a pointer to the vector of integer offsets that was
3893 were captured by the match, including the substring that matched the
3901 zero extracts the substring that matched the entire pattern, whereas
4052 rent matched substring. Then return 1, which forces pcre_exec() to
4175 When pcre_dfa_exec() succeeds, it may have matched more than one sub-
4183 is matched against the string
4187 the three matched strings are
4194 which is the number of matched substrings. The substrings themselves
4206 can use the entire ovector for returning matched strings.
4344 tern is being matched. This is useful information when you are trying
4445 extract substrings that have been matched so far, in the same way as
4483 structure. It contains the offset to the next item to be matched in the
4487 structure. It contains the length of the next item to be matched in the
4647 distinguish which parentheses matched, because both names map to cap-
4896 A regular expression is a pattern that is matched against a subject
4905 matched independently of case. In a UTF mode, PCRE always understands
5216 are used for accented letters, and these are then matched by \w. The
5299 PCRE_BSR_ANYCRLF either at compile time or when the pattern is matched.
5344 A character from one of these sets can be matched using a script name.
5468 (see below). Up to and including release 8.31, PCRE matched an ear-
5473 That is, it matched a character without the "mark" property, followed
5540 The escape sequence \K causes any previously matched characters not to
5541 be included in the final matched sequence. For example, the pattern:
5545 matches "foobar", but reports that it has matched "bar". This feature
5617 previously matched string was empty. Because PCRE does just one match
5759 mode, the character may be more than one data unit long. A matched
5826 to [][\\^_`wxyzabc], matched caselessly, and in a non-UTF mode, if
6055 string that matched the subpattern is passed back to the caller via the
6062 string "the red king" is matched against the pattern
6075 matched against the pattern
6108 matched. This construct is useful when you want to capture part, but
6132 If a condition test for a subpattern's having matched refers to a non-
6134 ber have matched.
6187 that name that matched. This saves searching to find which numbered
6205 conditions below), either to check whether a subpattern has matched, or
6369 string that matched the final iteration. For example, after
6373 has matched "tweedledum tweedledee" the value of the captured substring
6402 the means for specifying that once a subpattern has matched, it is not
6412 tains once it has matched, and a failure further into the pattern is
6534 A back reference matches whatever actually matched the capturing sub-
6549 original capturing subpattern is matched caselessly.
6600 treated as an atomic group. Once the whole group has been matched, a
6615 matched in the normal way, except that it does not cause the current
6787 tern has already been matched. The two possible forms of conditional
6811 viously matched. If there is more than one capturing subpattern with
6813 numbers), the condition is true if any of them have matched. An alter-
6832 first set of parentheses matched. If they did, that is, if subject
6860 of them has matched.
6915 letter is found, the subject is matched against the first alternative;
6916 otherwise it is matched against the second. This pattern matches
7040 tion). If the pattern above is matched against
7046 pattern is not matched at the top level, its final captured value is
7071 always treated as an atomic group. That is, once it has matched some of
7085 At the top level, the first character is matched, but as it is not at
7092 subpattern 2 matched, which was "a". This fails. Because the recursion
7115 When a deeper recursion has matched a single character, it cannot be
7136 entire string. For example, although "abcba" is correctly matched, if
7185 atomic groups. That is, once a subroutine has matched some of the sub-
7292 them can be used only when the pattern is to be matched using one of
7382 ple it indicates which of the two alternatives matched. This is a more
7414 is confined to that group, because once the group has been matched,
7491 tered. (*SKIP) signifies that whatever text was matched leading up to
7547 If A and B are matched, but there is a failure in C, matching does not
7568 then fails, the character "b" is matched, but "c" is not. At this
8103 and any subject strings that are matched against it are treated as
8115 any subject strings that are matched against it are treated as UTF-16
8314 when the same pattern is going to be matched many times. This does not
8409 pattern is matched using interpretive code.
8461 When a pattern is matched using JIT execution, the return values are
8544 matched sequentially in the same thread. In a multithread application,
8781 inspected. This character need not form part of the final matched
8783 of inspecting characters before the start of a matched substring. The
8785 empty string can always be matched; without such a restriction there
8832 If this is matched against the subject string "abc123dog", both alter-
8866 the longer string if possible). If it is matched against the string
8905 TIAL_HARD is set. Consider the string "dog" matched against the
8969 The first data string is matched completely, so pcretest shows the
8970 matched substrings. The remaining four strings do not match the com-
8999 matched string. It is up to the calling program to do that if it needs
9009 ing again at the next character is to retain the matched part of the
9068 partially matched string, all should be well. (Of course, near the
9079 For example, if the pattern "(?<=123)abc" is partially matched against
9435 when matched with a traditional matching function; the performance loss
9636 It does not affect the way newlines are matched by . (they are not) or
9717 of the string, not how it is matched.
9720 matched strings is returned. The nmatch and pmatch arguments of
9724 about any matched strings is returned.
9726 Otherwise,the portion of the string that was matched, and also any cap-
9732 to the entire portion of string that was matched; subsequent elements
9798 pattern exactly. If pointer arguments are supplied, it copies matched
9818 You must supply extra pointer arguments to extract matched subpieces.
9844 string (matched piece is copied to string)
9845 StringPiece (StringPiece is mutated to point to matched piece)
9847 NULL (the corresponding matched sub-pattern is not copied)
9854 b. The number of matched sub-patterns is >= number of supplied
9864 CAVEAT: An optional sub-pattern that does not exist in the matched
10046 advance "input" so it points past the matched text.
10135 the program outputs the portion of the subject that matched, together
10324 matched. Consider, for example, this pattern:
10333 occurs, so this formulation uses a stack frame for each matched charac-