Lines Matching full:modifier
31 to re-implement the test program as pcre2test, with a cleaner modifier
81 used. In addition, when the utf modifier (see "Setting compilation op-
86 For non-UTF testing of wide characters, the utf8_input modifier can be
119 -ac Behave as if each pattern has the auto_callout modifier, that
124 has the callout_extra modifier, that is, show additional in-
127 -b Behave as if each pattern has the fullbincode modifier; the
169 -d Behave as if each pattern has the debug modifier; the inter-
173 -dfa Behave as if each subject line has the dfa modifier; matching
186 -i Behave as if each pattern has the info modifier; information
189 -jit Behave as if each pattern line has the jit modifier; after
193 -jitfast Behave as if each pattern line has the jitfast modifier; af-
199 Behave as if each pattern line has the jitverify modifier;
209 -pattern modifier-list
218 -subject modifier-list
337 erwise, except when testing the POSIX API, a newline modifier that
340 modifier. If the newline list is empty, the feature is turned off. This
346 posix_nosub modifier is used when #newline_default would set a default
349 #pattern <modifier-list>
351 This command sets a default modifier list that applies to all subse-
384 #subject <modifier-list>
386 This command sets a default modifier list that applies to all subse-
391 MODIFIER SYNTAX
393 Modifier lists are used with both pattern and subject lines. Items in a
395 whitespace in a modifier list is ignored. Some modifiers may be given
397 one or the other. Each modifier has a long name, for example "an-
405 Perl convention, these are written with a slash ("the /i modifier") for
407 item of a modifier list. If the first item is not recognized as a long
408 modifier name, it is interpreted as a sequence of these abbreviations.
413 This is a pattern line whose modifier list starts with two one-letter
449 A pattern can be followed by a modifier list (details below).
474 The use of \x{hh...} is not dependent on the use of the utf modifier on
508 string and the start of a modifier list. For example:
517 abc\= This is an invalid modifier list.
522 (and there is no modifier list), it is ignored. This gives a way of
526 If the subject_literal modifier is set for a pattern, all subject lines
534 There are several types of modifier that can appear in pattern lines.
536 pattern's modifier list can add to or override default modifiers that
589 As well as turning on the PCRE2_UTF option, the utf modifier causes all
637 The bsr modifier specifies what \R in a pattern should match. If it is
643 The newline modifier specifies which characters are to be interpreted
649 The debug modifier is a shorthand for info,fullbincode, requesting all
652 The bincode modifier causes a representation of the compiled code to be
659 The fullbincode modifier, by contrast, does include length and offset
663 The info modifier requests information about the compiled pattern
695 The framesize modifier shows the size, in bytes, of the storage frames
699 The callout_info modifier requests information about all the callouts
707 null_context modifier is set, however, NULL is passed. This is for
713 The hex modifier specifies that the characters of the pattern, except
736 minated. The use_length modifier causes this to happen. Using a length
748 and translated to UTF-16 or UTF-32 when the utf modifier is set. For
750 modifier can be used. It is mutually exclusive with utf. Input lines
759 above. If the expand modifier is present on a pattern, parts of the
776 If the info modifier is set on an expanded pattern, the result of the
788 partial modifier in "Subject Modifiers" below for details of how these
791 JIT compilation is requested by the jit pattern modifier, which may op-
800 The possible values for the jit modifier are therefore:
816 modifier on a subject line, that match will not use JIT code because
822 pcre2jit documentation. See also the jitstack modifier below for a way
825 If the jitfast modifier is specified, matching is done using the JIT
831 If the jitverify modifier is specified, information about the compiled
840 The locale modifier must specify the name of a locale, for example:
847 when matching the following subject lines. The locale modifier applies
854 The memory modifier causes the size in bytes of the memory used to hold
867 The parens_nest_limit modifier sets a limit on the depth of nested
875 The max_pattern_length modifier sets a limit, in code units, to the
897 The regerror_buffsize modifier specifies a size for the error buffer
904 buffer is too small for the error message. If this modifier has not
917 The stackguard modifier is used to test the use of pcre2_set_com-
920 mentation for details). If the number specified by the modifier is
924 than the value given by the modifier, non-zero is returned, causing the
929 The value specified for the tables modifier must be one of the digits
950 pattern's modifier list, in which case they are applied to every sub-
981 If the subject_literal modifier is present on a pattern, all the sub-
989 When a pattern with the push modifier is successfully compiled, it is
1007 tested by setting the convert modifier. Its argument is a colon-sepa-
1027 its output. However, if the convert_length modifier is set to a value
1062 If the posix or posix_nosub modifier was present on the pattern, caus-
1068 There is one additional modifier that can be used with the POSIX wrap-
1141 The aftertext modifier requests that as well as outputting the part of
1145 The allaftertext modifier requests the same action for captured sub-
1150 The allusedtext modifier requests that all the text that was consulted
1154 message). Setting this modifier affects the output if there is a look-
1173 The startchar modifier requests that the starting character for the
1186 Unlike allusedtext, the startchar modifier can be used with JIT. How-
1191 The allcaptures modifier requests that the values of all potential cap-
1195 the match are output as "<unset>". This modifier is not relevant for
1201 The allvector modifier requests that the entire ovector be shown, what-
1204 for a successful complete non-DFA match. This modifier, which acts af-
1228 the global or altglobal modifier. After finding a match, the matching
1242 modifier or the split() function. Normally, the start offset is ad-
1260 The getall modifier tests pcre2_substring_list_get(), which extracts
1272 If the replace modifier is set, the pcre2_substitute() function is
1276 end of a modifier. This is not thought to be an issue in a test pro-
1327 tute_overflow_length modifier), pcre2_substitute() continues to go
1344 If the substitute_callout modifier is set, a substitution callout func-
1345 tion is set up. The null_context modifier must not be set, because the
1386 The jitstack modifier provides a way of setting the maximum stack size
1398 find_limits modifier is specified.
1402 If the find_limits modifier is present on a subject line, pcre2test
1409 When using this modifier, the pattern should not contain any limit set-
1440 The mark modifier causes the names from backtracking control verbs that
1448 The memory modifier causes pcre2test to log the sizes of all heap mem-
1455 in that case the memory modifier never has any effect. For this modi-
1456 fier to work, the null_context modifier must not be set on both the
1461 The offset modifier sets an offset in the subject string at which
1466 The offset_limit modifier sets a limit for unanchored matches. If a
1469 not characters. When this modifier is used, the use_offset_limit modi-
1474 The ovector modifier applies only to the subject line in which it ap-
1491 a zero-terminated string, the zero_terminate modifier is provided. It
1493 via the POSIX interface, this modifier is ignored, with a warning.
1495 When testing pcre2_substitute(), this modifier also has the effect of
1502 null_context modifier is set, however, NULL is passed. This is for
1504 in this case (they use default values). This modifier cannot be used
1516 If the dfa modifier is set, the alternative matching function is used.
1518 ject. If, however, the dfa_shortest modifier is set, processing stops
1553 not shown by pcre2test unless the allcaptures modifier is specified. In
1571 nition of non-printing characters. If the aftertext modifier is set,
1594 offset modifier is past the end of the subject string):
1648 dfa_restart modifier. For example:
1685 a result of the auto_callout pattern modifier. In this case, instead of
1740 default, but you can use a callout_fail modifier in a subject line to
1743 If the callout_capture modifier is set, the current captured groups are
1749 (as described above) is suppressed if the callout_no_where modifier is
1753 JIT, setting the callout_extra modifier causes additional output from
1803 The callout_extra modifier has no effect if used with the DFA matching
1809 matching to continue. The callout_fail modifier can be given one or two
1814 modifier is similar, except that PCRE2_ERROR_CALLOUT is returned, caus-
1820 The callout_data modifier can be given an unsigned or a negative num-
1839 set for the pattern (using the locale modifier). In this case, the is-
1866 In pcre2test, when a pattern with push modifier is successfully com-
1869 a subject line. By contrast, the pushcopy modifier causes a copy of the
1874 message) for the stacked patterns. The jitverify modifier applies only
1892 of file. This command may be followed by a modifier list containing
1912 The #popcopy command is analagous to the pushcopy modifier in that it