Lines Matching full:modifier
34 program as \fBpcre2test\fP, with a cleaner modifier syntax. Nevertheless, there
85 when the \fButf\fP modifier (see
93 For non-UTF testing of wide characters, the \fButf8_input\fP modifier can be
129 Behave as if each pattern has the \fBauto_callout\fP modifier, that is, insert
134 \fBcallout_extra\fP modifier, that is, show additional information from
138 Behave as if each pattern has the \fBfullbincode\fP modifier; the full
179 Behave as if each pattern has the \fBdebug\fP modifier; the internal
184 Behave as if each subject line has the \fBdfa\fP modifier; matching is done
198 Behave as if each pattern has the \fBinfo\fP modifier; information about the
202 Behave as if each pattern line has the \fBjit\fP modifier; after successful
206 Behave as if each pattern line has the \fBjitfast\fP modifier; after
212 Behave as if each pattern line has the \fBjitverify\fP modifier; after
221 \fB-pattern\fP \fImodifier-list\fP
231 \fB-subject\fP \fImodifier-list\fP
353 except when testing the POSIX API, a \fBnewline\fP modifier that specifies the
355 pattern that does not already have a \fBnewline\fP modifier. If the newline
362 modifier is used when \fB#newline_default\fP would set a default for the
365 #pattern <modifier-list>
367 This command sets a default modifier list that applies to all subsequent
405 #subject <modifier-list>
407 This command sets a default modifier list that applies to all subsequent
411 .SH "MODIFIER SYNTAX"
414 Modifier lists are used with both pattern and subject lines. Items in a list
416 in a modifier list is ignored. Some modifiers may be given for both patterns
418 modifier has a long name, for example "anchored", and some of them must be
425 these are written with a slash ("the /i modifier") for clarity. Abbreviated
426 modifiers must all be concatenated in the first item of a modifier list. If the
427 first item is not recognized as a long modifier name, it is interpreted as a
432 This is a pattern line whose modifier list starts with two one-letter modifiers
467 A pattern can be followed by a modifier list (details below).
476 modifier was set for the pattern. The following provide a means of encoding
493 The use of \ex{hh...} is not dependent on the use of the \fButf\fP modifier on
524 the start of a modifier list. For example:
532 abc\e= This is an invalid modifier list.
536 the very last character in the line is a backslash (and there is no modifier
540 If the \fBsubject_literal\fP modifier is set for a pattern, all subject lines
549 There are several types of modifier that can appear in pattern lines. Except
551 pattern's modifier list can add to or override default modifiers that were set
609 As well as turning on the PCRE2_UTF option, the \fButf\fP modifier causes all
662 The \fBbsr\fP modifier specifies what \eR in a pattern should match. If it is
667 The \fBnewline\fP modifier specifies which characters are to be interpreted as
675 The \fBdebug\fP modifier is a shorthand for \fBinfo,fullbincode\fP, requesting
678 The \fBbincode\fP modifier causes a representation of the compiled code to be
684 The \fBfullbincode\fP modifier, by contrast, \fIdoes\fP include length and
688 The \fBinfo\fP modifier requests information about the compiled pattern
719 The \fBframesize\fP modifier shows the size, in bytes, of the storage frames
723 The \fBcallout_info\fP modifier requests information about all the callouts in
733 the \fBnull_context\fP modifier is set, however, NULL is passed. This is for
741 The \fBhex\fP modifier specifies that the characters of the pattern, except for
765 \fBuse_length\fP modifier causes this to happen. Using a length happens
781 translated to UTF-16 or UTF-32 when the \fButf\fP modifier is set. For testing
782 the 16-bit and 32-bit libraries in non-UTF mode, the \fButf8_input\fP modifier
799 \fBexpand\fP modifier is present on a pattern, parts of the pattern that have
816 If the \fBinfo\fP modifier is set on an expanded pattern, the result of the
833 modifier in "Subject Modifiers"
840 JIT compilation is requested by the \fBjit\fP pattern modifier, which may
849 The possible values for the \fBjit\fP modifier are therefore:
864 matching (for example, jit=2) but do not set the \fBpartial\fP modifier on a
874 documentation. See also the \fBjitstack\fP modifier below for a way of
877 If the \fBjitfast\fP modifier is specified, matching is done using the JIT
883 If the \fBjitverify\fP modifier is specified, information about the compiled
894 The \fBlocale\fP modifier must specify the name of a locale, for example:
901 are used when matching the following subject lines. The \fBlocale\fP modifier
910 The \fBmemory\fP modifier causes the size in bytes of the memory used to hold
925 The \fBparens_nest_limit\fP modifier sets a limit on the depth of nested
935 The \fBmax_pattern_length\fP modifier sets a limit, in code units, to the
963 The \fBregerror_buffsize\fP modifier specifies a size for the error buffer that
969 buffer is too small for the error message. If this modifier has not been set, a
984 The \fBstackguard\fP modifier is used to test the use of
990 documentation for details). If the number specified by the modifier is greater
994 value given by the modifier, non-zero is returned, causing the compilation to
1001 The value specified for the \fBtables\fP modifier must be one of the digits 0,
1023 modifier list, in which case they are applied to every subject line that is
1056 If the \fBsubject_literal\fP modifier is present on a pattern, all the subject
1065 When a pattern with the \fBpush\fP modifier is successfully compiled, it is
1091 setting the \fBconvert\fP modifier. Its argument is a colon-separated list of
1111 output. However, if the \fBconvert_length\fP modifier is set to a value greater
1154 If the \fBposix\fP or \fBposix_nosub\fP modifier was present on the pattern,
1160 There is one additional modifier that can be used with the POSIX wrapper. It is
1239 The \fBaftertext\fP modifier requests that as well as outputting the part of
1243 \fBallaftertext\fP modifier requests the same action for captured substrings as
1247 The \fBallusedtext\fP modifier requests that all the text that was consulted
1251 modifier affects the output if there is a lookbehind at the start of a match,
1270 The \fBstartchar\fP modifier requests that the starting character for the match
1282 Unlike \fBallusedtext\fP, the \fBstartchar\fP modifier can be used with JIT.
1289 The \fBallcaptures\fP modifier requests that the values of all potential
1293 are output as "<unset>". This modifier is not relevant for DFA matching (which
1301 The \fBallvector\fP modifier requests that the entire ovector be shown,
1304 successful complete non-DFA match. This modifier, which acts after any match
1338 \fBglobal\fP or \fBaltglobal\fP modifier. After finding a match, the matching
1351 imitates the way Perl handles such cases when using the \fB/g\fP modifier or
1371 The \fBgetall\fP modifier tests \fBpcre2_substring_list_get()\fP, which
1386 If the \fBreplace\fP modifier is set, the \fBpcre2_substitute()\fP function is
1390 a modifier. This is not thought to be an issue in a test program.
1443 \fBsubstitute_overflow_length\fP modifier), \fBpcre2_substitute()\fP continues
1461 If the \fBsubstitute_callout\fP modifier is set, a substitution callout
1462 function is set up. The \fBnull_context\fP modifier must not be set, because
1503 The \fBjitstack\fP modifier provides a way of setting the maximum stack size
1517 \fBfind_limits\fP modifier is specified.
1523 If the \fBfind_limits\fP modifier is present on a subject line, \fBpcre2test\fP
1530 When using this modifier, the pattern should not contain any limit settings
1561 The \fBmark\fP modifier causes the names from backtracking control verbs that
1571 The \fBmemory\fP modifier causes \fBpcre2test\fP to log the sizes of all heap
1578 the \fBmemory\fP modifier never has any effect. For this modifier to work, the
1579 \fBnull_context\fP modifier must not be set on both the pattern and the
1586 The \fBoffset\fP modifier sets an offset in the subject string at which
1593 The \fBoffset_limit\fP modifier sets a limit for unanchored matches. If a match
1596 this modifier is used, the \fBuse_offset_limit\fP modifier must have been set
1603 The \fBovector\fP modifier applies only to the subject line in which it
1622 string, the \fBzero_terminate\fP modifier is provided. It causes the length to
1624 this modifier is ignored, with a warning.
1626 When testing \fBpcre2_substitute()\fP, this modifier also has the effect of
1635 If the \fBnull_context\fP modifier is set, however, NULL is passed. This is for
1637 case (they use default values). This modifier cannot be used with the
1654 If the \fBdfa\fP modifier is set, the alternative matching function is used.
1656 however, the \fBdfa_shortest\fP modifier is set, processing stops after the
1691 shown by \fBpcre2test\fP unless the \fBallcaptures\fP modifier is specified. In
1708 characters. If the \fBaftertext\fP modifier is set, the output for substring
1731 modifier is past the end of the subject string):
1787 \fBdfa_restart\fP modifier. For example:
1831 result of the \fBauto_callout\fP pattern modifier. In this case, instead of
1888 default, but you can use a \fBcallout_fail\fP modifier in a subject line to
1891 If the \fBcallout_capture\fP modifier is set, the current captured groups are
1897 described above) is suppressed if the \fBcallout_no_where\fP modifier is set.
1900 setting the \fBcallout_extra\fP modifier causes additional output from
1949 The \fBcallout_extra\fP modifier has no effect if used with the DFA matching
1957 continue. The \fBcallout_fail\fP modifier can be given one or two numbers. If
1961 least <m> callouts. The \fBcallout_error\fP modifier is similar, except that
1967 The \fBcallout_data\fP modifier can be given an unsigned or a negative number.
1991 the pattern (using the \fBlocale\fP modifier). In this case, the
2023 In \fBpcre2test\fP, when a pattern with \fBpush\fP modifier is successfully
2026 subject line. By contrast, the \fBpushcopy\fP modifier causes a copy of the
2031 the stacked patterns. The \fBjitverify\fP modifier applies only at compile
2048 modifier list containing only
2076 The #popcopy command is analagous to the \fBpushcopy\fP modifier in that it