Lines Matching full:matching
16 <li><a name="TOC1" href="#SEC1">PARTIAL MATCHING IN PCRE2</a>
18 <li><a name="TOC3" href="#SEC3">PARTIAL MATCHING USING pcre2_match()</a>
19 <li><a name="TOC4" href="#SEC4">MULTI-SEGMENT MATCHING WITH pcre2_match()</a>
20 <li><a name="TOC5" href="#SEC5">PARTIAL MATCHING USING pcre2_dfa_match()</a>
21 <li><a name="TOC6" href="#SEC6">MULTI-SEGMENT MATCHING WITH pcre2_dfa_match()</a>
25 <br><a name="SEC1" href="#TOC1">PARTIAL MATCHING IN PCRE2</a><br>
34 all available at once. The requirement here is to be able to do the matching
44 Partial matching is a PCRE2-specific feature; it is not Perl-compatible. It is
46 options when calling a matching function. The difference between the two
48 complete match, though the details differ between the two types of matching
52 If you want to use partial matching with just-in-time optimized code, as well
53 as setting a partial match option for the matching function, you must also call
61 appropriate JIT mode has not been compiled, interpretive matching code is used.
64 Setting a partial matching option disables two of PCRE2's standard
66 and abandons matching immediately if it is not present in the subject string.
68 partially. PCRE2 also remembers a minimum length of a matching string, and does
69 not bother to run the matching function on shorter strings. This optimization
70 is also disabled for partial matching.
74 A possible partial match occurs during matching when the end of the subject
81 definitely needed to complete a match. In this case both hard and soft matching
117 <br><a name="SEC3" href="#TOC1">PARTIAL MATCHING USING pcre2_match()</a><br>
119 When a partial matching option is set, the result of calling
157 fail to match, but the end of the subject is reached during matching, so
167 partial matching options is set.
178 If PCRE2_PARTIAL_SOFT is set, the partial match is remembered, but matching
182 over a partial match. All the various matching items in a pattern behave as if
188 The difference between the two partial matching options can be illustrated by a
202 and matching never continues after finding a complete match. It might be easier
212 Example of partial matching using pcre2test
229 This example gives the same results for both hard and soft partial matching
243 <br><a name="SEC4" href="#TOC1">MULTI-SEGMENT MATCHING WITH pcre2_match()</a><br>
245 PCRE was not originally designed with multi-segment matching in mind. However,
246 over time, features (including partial matching) that make multi-segment
247 matching possible have been added. A very long string can be searched segment
290 matching process. When <b>pcre2test</b> displays a partial match, it indicates
298 However, the <b>allusedtext</b> modifier is not available for JIT matching,
299 because JIT matching does not record the first (or last) consulted characters.
306 If you know the approximate length of the matching substrings, you can use that
321 <br><a name="SEC5" href="#TOC1">PARTIAL MATCHING USING pcre2_dfa_match()</a><br>
333 partial match was found is set as the first matching string.
347 <br><a name="SEC6" href="#TOC1">MULTI-SEGMENT MATCHING WITH pcre2_dfa_match()</a><br>
349 When a partial match has been found using the DFA matching function, it is
355 to continue partial matching over multiple segments. Here is an example using
364 The first call has "23ja" as the subject, and requests partial matching; the