Home | History | Annotate | Download | only in doc

Lines Matching full:callout

134          pcre2callout       details of the callout feature
805 The first argument to the callout function gives the current depth of
807 ment of pcre2_set_compile_recursion_guard(). The callout function
815 A callout function
843 This sets up a "callout" function, which PCRE2 will call at specified
1246 If this bit is set, pcre2_compile() automatically inserts callout
1248 the callout facility, see the pcre2callout documentation.
1935 function is called for every callout in the pattern in the order in
1936 which they appear. Its first argument is a pointer to a callout enumer-
1938 passed to pcre2_callout_enumerate(). The contents of the callout enu-
2446 for use by callout functions that want to cause pcre2_match() or
2944 tion, you can kludge it up by making use of the callout facility, which
2947 What you have to do is to insert a callout right at the end of the pat-
2948 tern. When your callout function is called, extract and save the cur-
3487 This support can be disabled by adding --disable-pcre2grep-callout to
3672 PCRE2 provides a feature called "callout", which is a means of tempo-
3679 external function is to be called. Different callout points can be
3685 string, it must be doubled. For example, this pattern has two callout
3701 Notice that there is a callout before and after each parenthesis and
3703 dition is an assertion, an automatic callout is inserted immediately
3704 before the condition. Such a callout may also be inserted explicitly,
3810 doesn't ever start, and the callout is never reached. However, with
3811 "abyd", though the result is still no match, the callout is obeyed.
3824 THE CALLOUT INTERFACE
3826 During matching, when PCRE2 reaches a callout point, if an external
3828 both normal and DFA matching. The first argument to the callout func-
3830 void * callout data that was supplied when the callout was set up by
3851 current version is 1; the three callout string fields were added for
3860 For a numerical callout, callout_string is NULL, and callout_number
3861 contains the number of the callout, in the range 0-255. This is the
3872 the callout string argument. An additional code unit containing binary
3879 the callout argument string within the original pattern string. This is
3881 might need to report errors in the callout string within the pattern.
3885 The remaining fields in the callout block are the same for both kinds
3886 of callout.
3901 modified starting point. If the pattern is not anchored, the callout
3924 matched in the pattern string. When the callout immediately precedes an
3926 length is zero. When the callout precedes an opening parenthesis, the
3931 the same callout number. However, they are set for all callouts, and
3933 ing callout information.
3945 The external callout function returns an integer to PCRE2. If the value
3955 reserved for use by callout functions; it will never be used by PCRE2
3959 CALLOUT ENUMERATION
3970 function is called for every callout in the pattern in the order in
3971 callout enumer-
3981 callout_string_length Length of callout string
3982 callout_string Points to callout string or is NULL
3989 Note that the value of pattern_position is unique for each callout.
3990 However, if a callout occurs inside a group that is quantified with a
3993 as if it were /(a)(a)/. This means that the callout will be enumerated
4082 the PCRE2 "callout" feature allows an external function to be called
4175 (h) The callout facility is PCRE2-specific.
4330 when running in a UTF mode, and a callout immediately before an asser-
7702 callout function can be used (see below and the pcre2callout documenta-
7894 trary Perl code. The feature is called "callout". The caller of PCRE2
7898 passed, or if the callout entry point is set to NULL, callouts are dis-
7902 external function is to be called. There are two kinds of callout:
7910 During matching, when PCRE2 reaches a callout point, the external func-
7912 the callout, the position in the pattern, and one item of data that is
7913 also set in the match block. The callout function may cause matching to
7920 description of the programming interface to the callout function, are
7925 If you just want to have a means of identifying different callout
7927 this pattern has two callout points:
7934 tern whose condition is an assertion, an additional callout is inserted
7935 just before the condition. An explicit callout may also be set at this
7945 A delimited string may be used instead of a number as a callout argu-
7953 The doubling is removed before the string is passed to the callout
8043 nearest equivalent is the callout feature, as for example in this pat-
8048 A match with the string "aaaa" always fails, but the callout is taken
9662 (?C) callout (assumed number 0)
9663 callout with numerical data n
9664 (?C"text") callout with string data