Lines Matching refs:pcre_exec

1097        When matching with the pcre_exec() function, PCRE implements backtrack-
1121 the pcre_exec() function; it is not relevant for pcre_dfa_exec().
1128 pcre_exec() function. By controlling the maximum number of times this
1130 be placed on the resources used by a single call to pcre_exec(). The
1362 pcre_exec(), pcre16_exec() and pcre32_exec() functions. These work in
1594 int pcre_exec(const pcre *code, const pcre_extra *extra,
1732 pcre_exec() are used for compiling and matching regular expressions in
1763 string that is matched by pcre_exec(). They are:
1778 pcre_exec(), or pcre_dfa_exec(). This is an optional facility that is
1800 data, instead of recursive function calls, when running the pcre_exec()
1852 section on pcre_exec() options below.
1995 ber of internal matching function calls in a pcre_exec() execution.
1996 Further details are given with pcre_exec() below.
2002 pcre_exec() execution. Further details are given with pcre_exec()
2008 running pcre_exec() is implemented by recursive function calls that use
2085 compiled pattern, and used again by pcre_exec() and pcre_dfa_exec()
2325 is used for pcre_exec() and pcre_dfa_exec(), but it can be overridden.
2348 option for pcre_exec() or pcre_dfa_exec(). If it is set at compile
2390 be passed to pcre_exec() and pcre_dfa_exec(), to suppress the validity
2514 pcre_exec() or pcre_dfa_exec(). However, a pcre_extra block also con-
2520 calling program wants to pass any of the other fields to pcre_exec() or
2536 faster than the pcre_exec() interpretive matching function. If the
2545 pcre_exec() interpreter. For more details, see the pcrejit documenta-
2573 rc = pcre_exec( /* see below for details of pcre_exec() options */
2594 These two optimizations apply to both pcre_exec() and pcre_dfa_exec(),
2603 pcre_exec(), (that is, after any JIT compilation has happened) JIT exe-
2660 and also by pcre_exec() and pcre_dfa_exec(). Thus, for any single pat-
2665 the internal tables) to pcre_exec() or pcre_dfa_exec() (see the discus-
2895 pointers in the output vector (described with pcre_exec() below). To do
2947 pcre_exec(), otherwise 0. The fourth argument should point to an int
3052 int pcre_exec(const pcre *code, const pcre_extra *extra,
3056 The function pcre_exec() is called to match a subject string against a
3059 argument. You can call pcre_exec() with the same code and extra argu-
3069 ally studied) in the same process that calls pcre_exec(). However, it
3074 Here is an example of a simple call to pcre_exec():
3078 rc = pcre_exec(
3088 Extra data for pcre_exec()
3134 Internally, pcre_exec() uses a function called match(), which it calls
3141 When pcre_exec() is called with a pattern that was successfully studied
3150 cases. You can override the default by suppling pcre_exec() with a
3153 exceeded, pcre_exec() returns PCRE_ERROR_MATCHLIMIT.
3161 d is less than the limit set by the caller of pcre_exec() or, if no
3178 match_limit. You can override the default by suppling pcre_exec() with
3181 limit is exceeded, pcre_exec() returns PCRE_ERROR_RECURSIONLIMIT.
3189 d is less than the limit set by the caller of pcre_exec() or, if no
3202 Warning: The tables that pcre_exec() uses must be the same as those
3204 the behaviour of pcre_exec() is undefined. Therefore, when a pattern is
3208 pcre_exec().
3222 Option bits for pcre_exec()
3224 The unused bits of the options argument for pcre_exec() must be zero.
3235 interpretive code in pcre_exec() is run.
3239 The PCRE_ANCHORED option limits pcre_exec() to matching at the first
3341 There are a number of optimizations that pcre_exec() uses at the start
3360 pcre_exec()) disables JIT execution; in this situation, matching is
3394 UTF-8 string is automatically checked when pcre_exec() is subsequently
3399 sequence of bytes is found, pcre_exec() returns the error
3404 tled Error return values from pcre_exec() below). If startoffset con-
3410 PCRE_NO_UTF8_CHECK option when calling pcre_exec(). You might want to
3411 do this for the second and subsequent calls to pcre_exec() if you are
3434 case, if a partial match is found, pcre_exec() immediately returns
3444 The string to be matched by pcre_exec()
3446 The subject string is passed to pcre_exec() as a pointer in subject, a
3453 pcre_exec() returns PCRE_ERROR_BADOFFSET. When the starting offset is
3462 in the same subject by calling pcre_exec() again after a previous suc-
3471 When applied to the string "Mississipi" the first call to pcre_exec()
3472 finds the first occurrence. If pcre_exec() is called again with just
3475 to be a word boundary. However, if pcre_exec() is passed the entire
3496 How pcre_exec() returns captured substrings
3513 of the vector is used as workspace by pcre_exec() while matching cap-
3531 returned by pcre_exec() is one more than the highest numbered pair that
3543 nor any captured substrings are of interest, pcre_exec() may be called
3557 given with subject string "abd", pcre_exec() will try to set the second
3588 tor[0] to ovector[2n+1] are set by pcre_exec(). The other elements (in
3594 Error return values from pcre_exec()
3596 If pcre_exec() fails, it returns a negative number. The following are
3629 to pcre_exec() is not big enough to remember the referenced substrings,
3634 This error is also given if pcre_stack_malloc() fails in pcre_exec().
3642 returned by pcre_exec().
3652 This error is never generated by pcre_exec() itself. It is provided for
3723 This error is returned when pcre_exec() detects a recursion loop within
3761 This error is given if pcre_exec() is called with a negative value for
3764 Error numbers -16 to -20, -22, and 30 are not used by pcre_exec().
3772 When pcre_exec() returns either PCRE_ERROR_BADUTF8 or PCRE_ERROR_SHORT-
3863 returned by pcre_exec() in ovector. For convenience, the functions
3881 passed to pcre_exec(), and stringcount is the number of substrings that
3883 entire regular expression. This is the value returned by pcre_exec() if
3884 it is greater than zero. If pcre_exec() returned zero, indicating that
4041 rent matched substring. Then return 1, which forces pcre_exec() to
4043 matches, pcre_exec() will yield PCRE_ERROR_NOMATCH.
4048 Matching certain patterns using pcre_exec() can use a lot of process
4051 that is used by pcre_exec(), to help them set recursion limits, as
4054 ing pcre_exec with the values NULL, NULL, NULL, -999, and -999 for its
4057 Normally, if its first argument is NULL, pcre_exec() immediately
4063 pcre_exec() occur when there are one or two additional variables on the
4089 pcre_exec(), plus two extras. The ovector argument is used in a differ-
4091 used in the same way as for pcre_exec(), so their description is not
4125 four of these are exactly the same as for pcre_exec(), so their
4131 These have the same general effect as they do for pcre_exec(), but the
4188 compatibility with the way pcre_exec() returns data, even though the
4194 filled with the longest matches. Unlike pcre_exec(), pcre_dfa_exec()
4209 Many of the errors are the same as for pcre_exec(), and these are
4432 passed by the caller to the matching function. When pcre_exec() or
4451 When the pcre_exec() or pcre[16|32]_exec() is used, the capture_top
4487 callouts from pcre_exec() or pcre[16|32]_exec() it contains a pointer
4683 and PCRE_NO_AUTO_CAPTURE options for pcre_exec() have no Perl equiva-
4745 one its main matching functions, pcre_exec() (8-bit) or
4854 The caller of pcre_exec() can set a limit on the number of times the
4860 reached, pcre_exec() gives an error return. The limits can also be set
4868 pcre_exec() for it to have any effect. In other words, the pattern
5577 However, if the startoffset argument of pcre_exec() is non-zero, indi-
5585 of pcre_exec(). It differs from \A when the value of startoffset is
5586 non-zero. By calling pcre_exec() multiple times with appropriate argu-
5610 ment of pcre_exec() is non-zero, circumflex can never match if the
5648 pcre_exec() is non-zero. The PCRE_DOLLAR_ENDONLY option is ignored if
7287 pile() or pcre_exec(), or by starting the pattern with (*NO_START_OPT).
7289 bits for pcre_exec()" in the pcreapi documentation.
7345 pcre_exec()" in the pcreapi documentation. Here is an example of
7408 has been passed pcre_exec() is committed to finding a match at the cur-
7438 pcre_exec() is called. This disables the optimization that skips along
7928 the limits set by the caller of pcre_exec(), not increase them.
8141 first byte of the failing character. The run-time functions pcre_exec()
8157 this option to pcre_exec() or pcre_dfa_exec().
8350 pcre_exec().
8375 PCRE_PARTIAL_HARD or PCRE_PARTIAL_SOFT options of pcre_exec(), you
8383 three modes (normal, soft partial, hard partial). When pcre_exec() is
8394 cutes much faster than the normal interpretive code. When pcre_exec()
8400 There are some pcre_exec() options that are not supported for JIT exe-
8425 The only pcre_exec() options that are supported for JIT execution are
8438 the same as those given by the interpretive pcre_exec() code, with the
8442 patibility with the interpretive pcre_exec() code, no more than two-
8513 is not obeyed when pcre_exec() is called with options that are incom-
8577 by pcre_exec(), (that is, it is assigned to the pattern currently run-
8586 pcre_exec() again. When you assign the stack to a pattern, only a
8589 call pcre_exec() with a pattern pointing to an already freed stack, as
8591 pcre_exec() in another thread). You can also replace the stack for a
8596 pcre_exec()?
8637 rc = pcre_exec(re, extra, subject, length, 0, 0, ovector, 30);
8649 pcre_exec() does have a performance impact. Programs that are written
8652 execution directly instead of calling pcre_exec() (obviously only for
8656 the same arguments as pcre_exec(), plus one additional argument that
8658 do not apply. The return values are the same as for pcre_exec().
8660 When you call pcre_exec(), as well as testing for invalid options, a
8668 Bypassing the sanity checks and the pcre_exec() wrapping can give
8751 PARTIAL MATCHING USING pcre_exec() OR pcre[16|32]_exec()
8753 A partial match occurs during a call to pcre_exec() or
8789 PCRE_PARTIAL_SOFT WITH pcre_exec() OR pcre[16|32]_exec()
8791 If PCRE_PARTIAL_SOFT is set when pcre_exec() or pcre[16|32]_exec()
8815 PCRE_PARTIAL_HARD WITH pcre_exec() OR pcre[16|32]_exec()
8817 If PCRE_PARTIAL_HARD is set for pcre_exec() or pcre[16|32]_exec(),
8912 optimizations were implemented in the pcre_exec() function, the
8920 not conform to the restrictions, pcre_exec() returned the error code
8994 MULTI-SEGMENT MATCHING WITH pcre_exec() OR pcre[16|32]_exec()
9053 argument of pcre_exec() or pcre_dfa_exec().
9275 Warning: The tables that pcre_exec() and pcre_dfa_exec() use must be
9381 When pcre_exec() or pcre[16|32]_exec() is used for matching, certain