Lines Matching refs:substrings
1073 holding the pointers to capturing substrings, because PCRE requires
1075 two. If the number of expected substrings is small, the wrapper func-
1500 is not straightforward to keep track of captured substrings for the
1505 3. Because no substrings are captured, back references within the pat-
1546 retaining partially matched substrings, it is more complicated. The
1768 captured substrings. A description of the two matching algorithms and
1773 convenience functions for extracting captured substrings from a subject
3507 How pcre_exec() returns captured substrings
3510 addition, further substrings from the subject may be picked out by
3515 that do not cause substrings to be captured.
3517 Captured substrings are returned to the caller via a vector of integers
3529 When a match is successful, information about captured substrings is
3543 has been set. For example, if two substrings have been captured, the
3554 nor any captured substrings are of interest, pcre_exec() may be called
3557 remember the related substrings, PCRE has to get additional memory for
3578 ovector that will allow for n captured substrings, in addition to the
3603 substrings as separate strings. These are described below.
3640 to pcre_exec() is not big enough to remember the referenced substrings,
3873 Captured substrings can be accessed directly by using the offsets
3876 string_list() are provided for extracting captured substrings as new,
3877 separate, zero-terminated strings. These functions identify substrings
3879 substrings.
3892 passed to pcre_exec(), and stringcount is the number of substrings that
3902 higher values extract the captured substrings. For pcre_copy_sub-
3935 tive for unset substrings.
4026 If you want to get full details of all captured substrings for a given
4178 matches are all initial substrings of the longer matches. For example,
4194 which is the number of matched substrings. The substrings themselves
4445 extract substrings that have been matched so far, in the same way as
4446 for extracting substrings after a match has completed. For the DFA
4464 tured substring so far. If no substrings have been captured, the value
4466 are used, because they do not support captured substrings.
4471 substrings. If no substrings have been captured, the value of cap-
4588 7. PCRE does support the \Q...\E escape for quoting substrings. Charac-
5549 not interfere with the setting of captured substrings. For example,
6066 the captured substrings are "red king", "red", and "king", and are num-
6079 the captured substrings are "white queen" and "queen", and are numbered
6181 There are five capturing substrings, but only one is ever set after a
6466 matches an unlimited number of substrings that either consist of non-
6988 substrings which can either be a sequence of non-parentheses, or a
8970 matched substrings. The remaining four strings do not match the com-
9569 match_t for returning captured substrings. It also defines some con-
9727 tured substrings, are returned via the pmatch argument, which points to
10136 with the contents of any captured substrings.