Lines Matching refs:callout
144 pcre2callout details of the pattern callout feature
903 The first argument to the callout function gives the current depth of
905 ment of pcre2_set_compile_recursion_guard(). The callout function
912 Set up a callout function
941 This sets up a callout function for PCRE2 to call at specified points
949 This sets up a callout function for PCRE2 to call after each substitu-
1447 If this bit is set, pcre2_compile() automatically inserts callout
1449 ately before or after an explicit callout in the pattern. For discus-
1450 sion of the callout facility, see the pcre2callout documentation.
2336 function is called for every callout in the pattern in the order in
2337 which they appear. Its first argument is a pointer to a callout enumer-
2339 passed to pcre2_callout_enumerate(). The contents of the callout enu-
2896 for use by callout functions that want to cause pcre2_match() or
3384 callout function for pcre2_substitute(). This information is passed in
3385 a match context. The callout function is called after each substitution
3387 callout function is not called for simulated substitutions that happen
3390 The first argument of the callout function is a pointer to a substitute
3391 callout block structure, which contains the following fields, not nec-
3408 first callout, 2 for the second, and so on. The input and output point-
3419 The second argument of the callout function is the value passed as
3421 the callout function is interpreted as follows:
3481 tion, you can kludge it up by making use of the callout facility, which
3484 What you have to do is to insert a callout right at the end of the pat-
3485 tern. When your callout function is called, extract and save the cur-
4033 gram or script. If --disable-pcre2grep-callout-fork is added to the
4034 configure command, only the first kind of callout is supported; if
4035 --disable-pcre2grep-callout is used, all callouts are completely
4279 PCRE2 provides a feature called "callout", which is a means of tempo-
4285 When using the pcre2_substitute() function, an additional callout fea-
4286 ture is available. This does a callout after each change to the subject
4291 external function is to be called. Different callout points can be
4297 string, it must be doubled. For example, this pattern has two callout
4305 callout. For example, if PCRE2_AUTO_CALLOUT is used with the pattern
4321 Notice that there is a callout before and after each parenthesis and
4323 dition is an assertion, an automatic callout is inserted immediately
4324 before the condition. Such a callout may also be inserted explicitly,
4431 doesn't ever start, and the callout is never reached. However, with
4432 "abyd", though the result is still no match, the callout is obeyed.
4447 During matching, when PCRE2 reaches a callout point, if an external
4451 is the void * callout data that was supplied when the callout was set
4453 callout block structure contains the following fields, not necessarily
4474 current version is 2; the three callout string fields were added for
4483 For a numerical callout, callout_string is NULL, and callout_number
4484 contains the number of the callout, in the range 0-255. This is the
4495 the callout string argument. An additional code unit containing binary
4502 the callout argument string within the original pattern string. This is
4504 might need to report errors in the callout string within the pattern.
4508 The remaining fields in the callout block are the same for both kinds
4509 of callout.
4528 differ by one; for example, when the callout in the pattern
4553 modified starting point. If the pattern is not anchored, the callout
4564 processed in the pattern string. When the callout is at the end of the
4565 pattern, the length is zero. When the callout precedes an opening
4567 thesis. For example, in a callout before an assertion such as (?=ab)
4577 the same callout number. However, they are set for all callouts, and
4579 ing callout information.
4594 This is set for the first callout after the start of matching for each
4600 callout, or since the start of matching if this is the first callout
4619 The external callout function returns an integer to PCRE2. If the value
4629 reserved for use by callout functions; it will never be used by PCRE2
4644 function is called for every callout in the pattern in the order in
4645 which they appear. Its first argument is a pointer to a callout enumer-
4655 callout_string_length Length of callout string
4656 callout_string Points to callout string or is NULL
4663 Note that the value of pattern_position is unique for each callout.
4664 However, if a callout occurs inside a group that is quantified with a
4667 as if it were /(a)(a)/. This means that the callout will be enumerated
4763 (??{code}) constructions. However, PCRE2 does have a "callout" feature,
4856 (i) The callout facility is PCRE2-specific. Perl supports codeblocks
5048 when running in a UTF mode, and a callout immediately before an asser-
5370 The maximum length of a string argument to a callout is the largest
8698 callout function can be used (see below and the pcre2callout documenta-
8853 trary Perl code. The feature is called "callout". The caller of PCRE2
8857 passed, or if the callout entry point is set to NULL, callouts are dis-
8861 external function is to be called. There are two kinds of callout:
8869 During matching, when PCRE2 reaches a callout point, the external func-
8871 the callout, the position in the pattern, and one item of data that is
8872 also set in the match block. The callout function may cause matching to
8879 description of the programming interface to the callout function, are
8884 If you just want to have a means of identifying different callout
8886 this pattern has two callout points:
8893 tern whose condition is an assertion, an additional callout is inserted
8894 just before the condition. An explicit callout may also be set at this
8904 A delimited string may be used instead of a number as a callout argu-
8912 The doubling is removed before the string is passed to the callout
9009 are not present in PCRE2. The nearest equivalent is the callout fea-
9014 A match with the string "aaaa" always fails, but the callout is taken
10708 (?C) callout (assumed number 0)
10709 (?Cn) callout with numerical data n
10710 (?C"text") callout with string data