Lines Matching full:matching
4 .SH "PARTIAL MATCHING IN PCRE2"
13 all available at once. The requirement here is to be able to do the matching
21 Partial matching is a PCRE2-specific feature; it is not Perl-compatible. It is
23 options when calling a matching function. The difference between the two
25 complete match, though the details differ between the two types of matching
28 If you want to use partial matching with just-in-time optimized code, as well
29 as setting a partial match option for the matching function, you must also call
37 appropriate JIT mode has not been compiled, interpretive matching code is used.
39 Setting a partial matching option disables two of PCRE2's standard
41 and abandons matching immediately if it is not present in the subject string.
43 partially. PCRE2 also remembers a minimum length of a matching string, and does
44 not bother to run the matching function on shorter strings. This optimization
45 is also disabled for partial matching.
51 A possible partial match occurs during matching when the end of the subject
57 definitely needed to complete a match. In this case both hard and soft matching
90 .SH "PARTIAL MATCHING USING pcre2_match()"
93 When a partial matching option is set, the result of calling
126 fail to match, but the end of the subject is reached during matching, so
136 partial matching options is set.
145 If PCRE2_PARTIAL_SOFT is set, the partial match is remembered, but matching
149 over a partial match. All the various matching items in a pattern behave as if
154 The difference between the two partial matching options can be illustrated by a
168 and matching never continues after finding a complete match. It might be easier
178 .SS "Example of partial matching using pcre2test"
195 This example gives the same results for both hard and soft partial matching
211 .SH "MULTI-SEGMENT MATCHING WITH pcre2_match()"
214 PCRE was not originally designed with multi-segment matching in mind. However,
215 over time, features (including partial matching) that make multi-segment
216 matching possible have been added. A very long string can be searched segment
256 matching process. When \fBpcre2test\fP displays a partial match, it indicates
264 However, the \fBallusedtext\fP modifier is not available for JIT matching,
265 because JIT matching does not record the first (or last) consulted characters.
271 If you know the approximate length of the matching substrings, you can use that
286 .SH "PARTIAL MATCHING USING pcre2_dfa_match()"
298 partial match was found is set as the first matching string.
312 .SH "MULTI-SEGMENT MATCHING WITH pcre2_dfa_match()"
315 When a partial match has been found using the DFA matching function, it is
321 to continue partial matching over multiple segments. Here is an example using
330 The first call has "23ja" as the subject, and requests partial matching; the