From 6b1bd6c3d8e3b4146d303a387c85363849768701 Mon Sep 17 00:00:00 2001 From: ph10 Date: Wed, 15 Apr 2020 16:34:36 +0000 Subject: File tidies for 10.35-RC1 release candidate. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1244 6239d852-aaf2-0410-a92c-79f79f948069 --- doc/html/README.txt | 4 +-- doc/html/pcre2_set_character_tables.html | 6 ++-- doc/html/pcre2_substitute.html | 2 +- doc/html/pcre2api.html | 14 ++++---- doc/html/pcre2build.html | 18 +++++----- doc/html/pcre2grep.html | 2 +- doc/html/pcre2pattern.html | 6 ++-- doc/html/pcre2test.html | 22 ++++++------ doc/html/pcre2unicode.html | 2 +- doc/pcre2.txt | 60 ++++++++++++++++---------------- doc/pcre2_set_character_tables.3 | 6 ++-- doc/pcre2_substitute.3 | 2 +- doc/pcre2api.3 | 14 ++++---- doc/pcre2build.3 | 20 +++++------ doc/pcre2grep.1 | 2 +- doc/pcre2pattern.3 | 6 ++-- doc/pcre2syntax.3 | 2 +- doc/pcre2test.1 | 22 ++++++------ doc/pcre2unicode.3 | 2 +- 19 files changed, 106 insertions(+), 106 deletions(-) (limited to 'doc') diff --git a/doc/html/README.txt b/doc/html/README.txt index 187dc8b..241376f 100644 --- a/doc/html/README.txt +++ b/doc/html/README.txt @@ -562,7 +562,7 @@ not be a problem. If you need to modify the character tables when cross-compiling, you should move pcre2_chartables.c.dist out of the way, then compile pcre2_dftables.c by hand and run it on the local host to make a new version of -pcre2_chartables.c.dist. See the pcre2build section "Creating character tables +pcre2_chartables.c.dist. See the pcre2build section "Creating character tables at build time" for more details. @@ -753,7 +753,7 @@ that represent character classes for code points less than 256. The final 1 white space character 2 letter - 4 lower case letter + 4 lower case letter 8 decimal digit 16 alphanumeric or '_' diff --git a/doc/html/pcre2_set_character_tables.html b/doc/html/pcre2_set_character_tables.html index 1ce9a4f..8564eea 100644 --- a/doc/html/pcre2_set_character_tables.html +++ b/doc/html/pcre2_set_character_tables.html @@ -28,11 +28,11 @@ DESCRIPTION

This function sets a pointer to custom character tables within a compile context. The second argument must point to a set of PCRE2 character tables or -be NULL to request the default tables. The result is always zero. Character -tables can be created by calling pcre2_maketables() or by running the +be NULL to request the default tables. The result is always zero. Character +tables can be created by calling pcre2_maketables() or by running the pcre2_dftables maintenance command in binary mode (see the pcre2build -documentation). +documentation).

There is a complete description of the PCRE2 native API in the diff --git a/doc/html/pcre2_substitute.html b/doc/html/pcre2_substitute.html index 3a48819..10b2267 100644 --- a/doc/html/pcre2_substitute.html +++ b/doc/html/pcre2_substitute.html @@ -82,7 +82,7 @@ zero-terminated strings. The options are: PCRE2_SUBSTITUTE_LITERAL The replacement string is literal PCRE2_SUBSTITUTE_MATCHED Use pre-existing match data for 1st match PCRE2_SUBSTITUTE_OVERFLOW_LENGTH If overflow, compute needed length - PCRE2_SUBSTITUTE_REPLACEMENT_ONLY Return only replacement string(s) + PCRE2_SUBSTITUTE_REPLACEMENT_ONLY Return only replacement string(s) PCRE2_SUBSTITUTE_UNKNOWN_UNSET Treat unknown group as unset PCRE2_SUBSTITUTE_UNSET_EMPTY Simple unset insert = empty string diff --git a/doc/html/pcre2api.html b/doc/html/pcre2api.html index 673911b..ac64af4 100644 --- a/doc/html/pcre2api.html +++ b/doc/html/pcre2api.html @@ -1228,7 +1228,7 @@ uint32_t integer that is always set to zero.

   PCRE2_CONFIG_TABLES_LENGTH
 
-The output is a uint32_t integer that gives the length of PCRE2's character +The output is a uint32_t integer that gives the length of PCRE2's character processing tables in bytes. For details of these tables see the section on locale support below. @@ -1489,7 +1489,7 @@ documentation. If this bit is set, letters in the pattern match both upper and lower case letters in the subject. It is equivalent to Perl's /i option, and it can be -changed within a pattern by a (?i) option setting. If either PCRE2_UTF or +changed within a pattern by a (?i) option setting. If either PCRE2_UTF or PCRE2_UCP is set, Unicode properties are used for all characters with more than one other case, and for all characters whose code points are greater than U+007F. For lower valued characters with only one other case, a lookup table is @@ -1837,7 +1837,7 @@ the section on in the pcre2pattern page. If you set PCRE2_UCP, matching one of the items it affects takes much -longer. +longer.

The second effect of PCRE2_UCP is to force the use of Unicode properties for @@ -2012,10 +2012,10 @@ PCRE2 handles caseless matching, and determines whether characters are letters, digits, or whatever, by reference to a set of tables, indexed by character code point. However, this applies only to characters whose code points are less than 256. By default, higher-valued code points never match escapes such as \w or -\d. +\d.

-When PCRE2 is built with Unicode support (the default), the Unicode properties +When PCRE2 is built with Unicode support (the default), the Unicode properties of all characters can be tested with \p and \P, or, alternatively, the PCRE2_UCP option can be set when a pattern is compiled; this causes \w and friends to use Unicode property support instead of the built-in tables. @@ -3532,8 +3532,8 @@ terminating a \Q quoted sequence) reverts to no case forcing. The sequences \u and \l force the next character (if it is a letter) to upper or lower case, respectively, and then the state automatically reverts to no case forcing. Case forcing applies to all inserted characters, including those from -capture groups and letters within \Q...\E quoted sequences. If either -PCRE2_UTF or PCRE2_UCP was set when the pattern was compiled, Unicode +capture groups and letters within \Q...\E quoted sequences. If either +PCRE2_UTF or PCRE2_UCP was set when the pattern was compiled, Unicode properties are used for case forcing characters whose code points are greater than 127.

diff --git a/doc/html/pcre2build.html b/doc/html/pcre2build.html index 38c2f1c..5bd73a9 100644 --- a/doc/html/pcre2build.html +++ b/doc/html/pcre2build.html @@ -342,23 +342,23 @@ host and therefore not compiled with the cross compiler. If you need to create alternative tables when cross compiling, you will have to do so "by hand". There may also be other reasons for creating tables manually. To cause pcre2_dftables to be built on the local host, run a normal -compiling command, and then run the program with the output file as its +compiling command, and then run the program with the output file as its argument, for example:
   cc src/pcre2_dftables.c -o pcre2_dftables
-  ./pcre2_dftables src/pcre2_chartables.c 
+  ./pcre2_dftables src/pcre2_chartables.c
 
-This builds the tables in the default locale of the local host. If you want to +This builds the tables in the default locale of the local host. If you want to specify a locale, you must use the -L option:
   LC_ALL=fr_FR ./pcre2_dftables -L src/pcre2_chartables.c
 
-You can also specify -b (with or without -L). This causes the tables to be -written in binary instead of as source code. A set of binary tables can be -loaded into memory by an application and passed to pcre2_compile() in the -same way as tables created by calling pcre2_maketables(). The tables are -just a string of bytes, independent of hardware characteristics such as -endianness. This means they can be bundled with an application that runs in +You can also specify -b (with or without -L). This causes the tables to be +written in binary instead of as source code. A set of binary tables can be +loaded into memory by an application and passed to pcre2_compile() in the +same way as tables created by calling pcre2_maketables(). The tables are +just a string of bytes, independent of hardware characteristics such as +endianness. This means they can be bundled with an application that runs in different environments, to ensure consistent behaviour.


USING EBCDIC CODE
diff --git a/doc/html/pcre2grep.html b/doc/html/pcre2grep.html index abbafa1..a285a60 100644 --- a/doc/html/pcre2grep.html +++ b/doc/html/pcre2grep.html @@ -647,7 +647,7 @@ use of JIT at run time. It is provided for testing and working round problems. It should never be needed in normal use.

--O text, --output=text +-O text, --output=text When there is a match, instead of outputting the whole line that matched, output just the given text, followed by an operating-system standard newline. The --newline option has no effect on this option, which is mutually diff --git a/doc/html/pcre2pattern.html b/doc/html/pcre2pattern.html index 4160295..ec2e8c9 100644 --- a/doc/html/pcre2pattern.html +++ b/doc/html/pcre2pattern.html @@ -114,7 +114,7 @@ Another special sequence that may appear at the start of a pattern is (*UCP). This has the same effect as setting the PCRE2_UCP option: it causes sequences such as \d and \w to use Unicode properties to determine character types, instead of recognizing only characters with codes less than 256 via a lookup -table. If also causes upper/lower casing operations to use Unicode properties +table. If also causes upper/lower casing operations to use Unicode properties for characters with code points greater than 127, even when UTF is not set.

@@ -2664,8 +2664,8 @@ as before because nothing has changed, so using a non-atomic assertion just wastes resources.

-There is one exception to backtracking into a non-atomic assertion. If an -(*ACCEPT) control verb is triggered, the assertion succeeds atomically. That +There is one exception to backtracking into a non-atomic assertion. If an +(*ACCEPT) control verb is triggered, the assertion succeeds atomically. That is, a subsequent match failure cannot backtrack into the assertion.

diff --git a/doc/html/pcre2test.html b/doc/html/pcre2test.html index 63fa461..d178f99 100644 --- a/doc/html/pcre2test.html +++ b/doc/html/pcre2test.html @@ -379,7 +379,7 @@ described in the section entitled "Saving and restoring compiled patterns" #loadtables <filename> This command is used to load a set of binary character tables that can be -accessed by the tables=3 qualifier. Such tables can be created by the +accessed by the tables=3 qualifier. Such tables can be created by the pcre2_dftables program with the -b option.

   #newline_default [<newline-list>]
@@ -1041,7 +1041,7 @@ with different character tables. The digit specifies the tables as follows:
   1   the default ASCII tables, as distributed in
         pcre2_chartables.c.dist
   2   a set of tables defining ISO 8859 characters
-  3   a set of tables loaded by the #loadtables command 
+  3   a set of tables loaded by the #loadtables command
 
In tables 2, some characters whose codes are greater than 128 are identified as letters, digits, spaces, etc. Tables 3 can be used only after a @@ -1072,9 +1072,9 @@ process. substitute_callout use substitution callouts substitute_extended use PCRE2_SUBSTITUTE_EXTENDED substitute_literal use PCRE2_SUBSTITUTE_LITERAL - substitute_matched use PCRE2_SUBSTITUTE_MATCHED + substitute_matched use PCRE2_SUBSTITUTE_MATCHED substitute_overflow_length use PCRE2_SUBSTITUTE_OVERFLOW_LENGTH - substitute_replacement_only use PCRE2_SUBSTITUTE_REPLACEMENT_ONLY + substitute_replacement_only use PCRE2_SUBSTITUTE_REPLACEMENT_ONLY substitute_skip=<n> skip substitution <n> substitute_stop=<n> skip substitution <n> and following substitute_unknown_unset use PCRE2_SUBSTITUTE_UNKNOWN_UNSET @@ -1244,10 +1244,10 @@ pattern. startoffset=<n> same as offset=<n> substitute_callout use substitution callouts substitute_extedded use PCRE2_SUBSTITUTE_EXTENDED - substitute_literal use PCRE2_SUBSTITUTE_LITERAL - substitute_matched use PCRE2_SUBSTITUTE_MATCHED + substitute_literal use PCRE2_SUBSTITUTE_LITERAL + substitute_matched use PCRE2_SUBSTITUTE_MATCHED substitute_overflow_length use PCRE2_SUBSTITUTE_OVERFLOW_LENGTH - substitute_replacement_only use PCRE2_SUBSTITUTE_REPLACEMENT_ONLY + substitute_replacement_only use PCRE2_SUBSTITUTE_REPLACEMENT_ONLY substitute_skip=<n> skip substitution number n substitute_stop=<n> skip substitution number n and greater substitute_unknown_unset use PCRE2_SUBSTITUTE_UNKNOWN_UNSET @@ -1409,7 +1409,7 @@ Testing the substitution function

If the replace modifier is set, the pcre2_substitute() function is -called instead of one of the matching functions (or after one call of +called instead of one of the matching functions (or after one call of pcre2_match() in the case of PCRE2_SUBSTITUTE_MATCHED). Note that replacement strings cannot contain commas, because a comma signifies the end of a modifier. This is not thought to be an issue in a test program. @@ -1428,10 +1428,10 @@ for pcre2_substitute():

   global                      PCRE2_SUBSTITUTE_GLOBAL
   substitute_extended         PCRE2_SUBSTITUTE_EXTENDED
-  substitute_literal          PCRE2_SUBSTITUTE_LITERAL 
-  substitute_matched          PCRE2_SUBSTITUTE_MATCHED 
+  substitute_literal          PCRE2_SUBSTITUTE_LITERAL
+  substitute_matched          PCRE2_SUBSTITUTE_MATCHED
   substitute_overflow_length  PCRE2_SUBSTITUTE_OVERFLOW_LENGTH
-  substitute_replacement_only PCRE2_SUBSTITUTE_REPLACEMENT_ONLY 
+  substitute_replacement_only PCRE2_SUBSTITUTE_REPLACEMENT_ONLY
   substitute_unknown_unset    PCRE2_SUBSTITUTE_UNKNOWN_UNSET
   substitute_unset_empty      PCRE2_SUBSTITUTE_UNSET_EMPTY
 
diff --git a/doc/html/pcre2unicode.html b/doc/html/pcre2unicode.html index e2b9e78..76ca6ea 100644 --- a/doc/html/pcre2unicode.html +++ b/doc/html/pcre2unicode.html @@ -142,7 +142,7 @@ of Unicode properties except for characters whose code points are less than 128 and that have at most two case-equivalent values. For these, a direct table lookup is used for speed. A few Unicode characters such as Greek sigma have more than two code points that are case-equivalent, and these are treated -specially. Setting PCRE2_UCP without PCRE2_UTF allows Unicode-style case +specially. Setting PCRE2_UCP without PCRE2_UTF allows Unicode-style case processing for non-UTF character encodings such as UCS-2.


diff --git a/doc/pcre2.txt b/doc/pcre2.txt index 00248ea..a5ad12b 100644 --- a/doc/pcre2.txt +++ b/doc/pcre2.txt @@ -180,8 +180,8 @@ REVISION Last updated: 17 September 2018 Copyright (c) 1997-2018 University of Cambridge. ------------------------------------------------------------------------------ - - + + PCRE2API(3) Library Functions Manual PCRE2API(3) @@ -3796,8 +3796,8 @@ REVISION Last updated: 19 March 2020 Copyright (c) 1997-2020 University of Cambridge. ------------------------------------------------------------------------------ - - + + PCRE2BUILD(3) Library Functions Manual PCRE2BUILD(3) @@ -4390,8 +4390,8 @@ REVISION Last updated: 20 March 2020 Copyright (c) 1997-2020 University of Cambridge. ------------------------------------------------------------------------------ - - + + PCRE2CALLOUT(3) Library Functions Manual PCRE2CALLOUT(3) @@ -4820,8 +4820,8 @@ REVISION Last updated: 03 February 2019 Copyright (c) 1997-2019 University of Cambridge. ------------------------------------------------------------------------------ - - + + PCRE2COMPAT(3) Library Functions Manual PCRE2COMPAT(3) @@ -5029,8 +5029,8 @@ REVISION Last updated: 13 July 2019 Copyright (c) 1997-2019 University of Cambridge. ------------------------------------------------------------------------------ - - + + PCRE2JIT(3) Library Functions Manual PCRE2JIT(3) @@ -5454,8 +5454,8 @@ REVISION Last updated: 23 May 2019 Copyright (c) 1997-2019 University of Cambridge. ------------------------------------------------------------------------------ - - + + PCRE2LIMITS(3) Library Functions Manual PCRE2LIMITS(3) @@ -5524,8 +5524,8 @@ REVISION Last updated: 02 February 2019 Copyright (c) 1997-2019 University of Cambridge. ------------------------------------------------------------------------------ - - + + PCRE2MATCHING(3) Library Functions Manual PCRE2MATCHING(3) @@ -5748,8 +5748,8 @@ REVISION Last updated: 23 May 2019 Copyright (c) 1997-2019 University of Cambridge. ------------------------------------------------------------------------------ - - + + PCRE2PARTIAL(3) Library Functions Manual PCRE2PARTIAL(3) @@ -6128,8 +6128,8 @@ REVISION Last updated: 04 September 2019 Copyright (c) 1997-2019 University of Cambridge. ------------------------------------------------------------------------------ - - + + PCRE2PATTERN(3) Library Functions Manual PCRE2PATTERN(3) @@ -9562,8 +9562,8 @@ REVISION Last updated: 24 February 2020 Copyright (c) 1997-2020 University of Cambridge. ------------------------------------------------------------------------------ - - + + PCRE2PERFORM(3) Library Functions Manual PCRE2PERFORM(3) @@ -9797,8 +9797,8 @@ REVISION Last updated: 03 February 2019 Copyright (c) 1997-2019 University of Cambridge. ------------------------------------------------------------------------------ - - + + PCRE2POSIX(3) Library Functions Manual PCRE2POSIX(3) @@ -10127,8 +10127,8 @@ REVISION Last updated: 30 January 2019 Copyright (c) 1997-2019 University of Cambridge. ------------------------------------------------------------------------------ - - + + PCRE2SAMPLE(3) Library Functions Manual PCRE2SAMPLE(3) @@ -10406,8 +10406,8 @@ REVISION Last updated: 27 June 2018 Copyright (c) 1997-2018 University of Cambridge. ------------------------------------------------------------------------------ - - + + PCRE2SYNTAX(3) Library Functions Manual PCRE2SYNTAX(3) @@ -10922,8 +10922,8 @@ REVISION Last updated: 28 December 2019 Copyright (c) 1997-2019 University of Cambridge. ------------------------------------------------------------------------------ - - + + PCRE2UNICODE(3) Library Functions Manual PCRE2UNICODE(3) @@ -11357,5 +11357,5 @@ REVISION Last updated: 23 February 2020 Copyright (c) 1997-2020 University of Cambridge. ------------------------------------------------------------------------------ - - + + diff --git a/doc/pcre2_set_character_tables.3 b/doc/pcre2_set_character_tables.3 index 90b19e6..1ca4134 100644 --- a/doc/pcre2_set_character_tables.3 +++ b/doc/pcre2_set_character_tables.3 @@ -16,13 +16,13 @@ PCRE2 - Perl-compatible regular expressions (revised API) .sp This function sets a pointer to custom character tables within a compile context. The second argument must point to a set of PCRE2 character tables or -be NULL to request the default tables. The result is always zero. Character -tables can be created by calling \fBpcre2_maketables()\fP or by running the +be NULL to request the default tables. The result is always zero. Character +tables can be created by calling \fBpcre2_maketables()\fP or by running the \fBpcre2_dftables\fP maintenance command in binary mode (see the .\" HREF \fBpcre2build\fP .\" -documentation). +documentation). .P There is a complete description of the PCRE2 native API in the .\" HREF diff --git a/doc/pcre2_substitute.3 b/doc/pcre2_substitute.3 index ba11d41..cceb784 100644 --- a/doc/pcre2_substitute.3 +++ b/doc/pcre2_substitute.3 @@ -73,7 +73,7 @@ zero-terminated strings. The options are: PCRE2_SUBSTITUTE_LITERAL The replacement string is literal PCRE2_SUBSTITUTE_MATCHED Use pre-existing match data for 1st match PCRE2_SUBSTITUTE_OVERFLOW_LENGTH If overflow, compute needed length - PCRE2_SUBSTITUTE_REPLACEMENT_ONLY Return only replacement string(s) + PCRE2_SUBSTITUTE_REPLACEMENT_ONLY Return only replacement string(s) PCRE2_SUBSTITUTE_UNKNOWN_UNSET Treat unknown group as unset PCRE2_SUBSTITUTE_UNSET_EMPTY Simple unset insert = empty string .sp diff --git a/doc/pcre2api.3 b/doc/pcre2api.3 index 5937ed8..b992a53 100644 --- a/doc/pcre2api.3 +++ b/doc/pcre2api.3 @@ -1156,7 +1156,7 @@ uint32_t integer that is always set to zero. .sp PCRE2_CONFIG_TABLES_LENGTH .sp -The output is a uint32_t integer that gives the length of PCRE2's character +The output is a uint32_t integer that gives the length of PCRE2's character processing tables in bytes. For details of these tables see the .\" HTML .\" @@ -1431,7 +1431,7 @@ documentation. .sp If this bit is set, letters in the pattern match both upper and lower case letters in the subject. It is equivalent to Perl's /i option, and it can be -changed within a pattern by a (?i) option setting. If either PCRE2_UTF or +changed within a pattern by a (?i) option setting. If either PCRE2_UTF or PCRE2_UCP is set, Unicode properties are used for all characters with more than one other case, and for all characters whose code points are greater than U+007F. For lower valued characters with only one other case, a lookup table is @@ -1794,7 +1794,7 @@ in the \fBpcre2pattern\fP .\" page. If you set PCRE2_UCP, matching one of the items it affects takes much -longer. +longer. .P The second effect of PCRE2_UCP is to force the use of Unicode properties for upper/lower casing operations on characters with code points greater than 127, @@ -1974,9 +1974,9 @@ PCRE2 handles caseless matching, and determines whether characters are letters, digits, or whatever, by reference to a set of tables, indexed by character code point. However, this applies only to characters whose code points are less than 256. By default, higher-valued code points never match escapes such as \ew or -\ed. +\ed. .P -When PCRE2 is built with Unicode support (the default), the Unicode properties +When PCRE2 is built with Unicode support (the default), the Unicode properties of all characters can be tested with \ep and \eP, or, alternatively, the PCRE2_UCP option can be set when a pattern is compiled; this causes \ew and friends to use Unicode property support instead of the built-in tables. @@ -3537,8 +3537,8 @@ terminating a \eQ quoted sequence) reverts to no case forcing. The sequences \eu and \el force the next character (if it is a letter) to upper or lower case, respectively, and then the state automatically reverts to no case forcing. Case forcing applies to all inserted characters, including those from -capture groups and letters within \eQ...\eE quoted sequences. If either -PCRE2_UTF or PCRE2_UCP was set when the pattern was compiled, Unicode +capture groups and letters within \eQ...\eE quoted sequences. If either +PCRE2_UTF or PCRE2_UCP was set when the pattern was compiled, Unicode properties are used for case forcing characters whose code points are greater than 127. .P diff --git a/doc/pcre2build.3 b/doc/pcre2build.3 index a5b6718..0c469f0 100644 --- a/doc/pcre2build.3 +++ b/doc/pcre2build.3 @@ -338,23 +338,23 @@ host and therefore not compiled with the cross compiler. If you need to create alternative tables when cross compiling, you will have to do so "by hand". There may also be other reasons for creating tables manually. To cause \fBpcre2_dftables\fP to be built on the local host, run a normal -compiling command, and then run the program with the output file as its +compiling command, and then run the program with the output file as its argument, for example: .sp cc src/pcre2_dftables.c -o pcre2_dftables - ./pcre2_dftables src/pcre2_chartables.c + ./pcre2_dftables src/pcre2_chartables.c .sp -This builds the tables in the default locale of the local host. If you want to +This builds the tables in the default locale of the local host. If you want to specify a locale, you must use the -L option: .sp LC_ALL=fr_FR ./pcre2_dftables -L src/pcre2_chartables.c -.sp -You can also specify -b (with or without -L). This causes the tables to be -written in binary instead of as source code. A set of binary tables can be -loaded into memory by an application and passed to \fBpcre2_compile()\fP in the -same way as tables created by calling \fBpcre2_maketables()\fP. The tables are -just a string of bytes, independent of hardware characteristics such as -endianness. This means they can be bundled with an application that runs in +.sp +You can also specify -b (with or without -L). This causes the tables to be +written in binary instead of as source code. A set of binary tables can be +loaded into memory by an application and passed to \fBpcre2_compile()\fP in the +same way as tables created by calling \fBpcre2_maketables()\fP. The tables are +just a string of bytes, independent of hardware characteristics such as +endianness. This means they can be bundled with an application that runs in different environments, to ensure consistent behaviour. . . diff --git a/doc/pcre2grep.1 b/doc/pcre2grep.1 index 82f0435..d34881f 100644 --- a/doc/pcre2grep.1 +++ b/doc/pcre2grep.1 @@ -564,7 +564,7 @@ was explicitly disabled at build time. This option can be used to disable the use of JIT at run time. It is provided for testing and working round problems. It should never be needed in normal use. .TP -\fB-O\fP \fItext\fP, \fB--output\fP=\fItext\fP +\fB-O\fP \fItext\fP, \fB--output\fP=\fItext\fP When there is a match, instead of outputting the whole line that matched, output just the given text, followed by an operating-system standard newline. The \fB--newline\fP option has no effect on this option, which is mutually diff --git a/doc/pcre2pattern.3 b/doc/pcre2pattern.3 index c2d12d3..c88ce03 100644 --- a/doc/pcre2pattern.3 +++ b/doc/pcre2pattern.3 @@ -75,7 +75,7 @@ Another special sequence that may appear at the start of a pattern is (*UCP). This has the same effect as setting the PCRE2_UCP option: it causes sequences such as \ed and \ew to use Unicode properties to determine character types, instead of recognizing only characters with codes less than 256 via a lookup -table. If also causes upper/lower casing operations to use Unicode properties +table. If also causes upper/lower casing operations to use Unicode properties for characters with code points greater than 127, even when UTF is not set. .P Some applications that allow their users to supply patterns may wish to @@ -2676,8 +2676,8 @@ pattern. If this is not the case, the rest of the pattern match fails exactly as before because nothing has changed, so using a non-atomic assertion just wastes resources. .P -There is one exception to backtracking into a non-atomic assertion. If an -(*ACCEPT) control verb is triggered, the assertion succeeds atomically. That +There is one exception to backtracking into a non-atomic assertion. If an +(*ACCEPT) control verb is triggered, the assertion succeeds atomically. That is, a subsequent match failure cannot backtrack into the assertion. .P Non-atomic assertions are not supported by the alternative matching function diff --git a/doc/pcre2syntax.3 b/doc/pcre2syntax.3 index d02cd37..7076462 100644 --- a/doc/pcre2syntax.3 +++ b/doc/pcre2syntax.3 @@ -538,7 +538,7 @@ These assertions are specific to PCRE2 and are not Perl-compatible. (?*...) ) (*napla:...) ) synonyms (*non_atomic_positive_lookahead:...) ) -.sp +.sp (?<*...) ) (*naplb:...) ) synonyms (*non_atomic_positive_lookbehind:...) ) diff --git a/doc/pcre2test.1 b/doc/pcre2test.1 index 108ecfc..bae4c22 100644 --- a/doc/pcre2test.1 +++ b/doc/pcre2test.1 @@ -330,7 +330,7 @@ below. #loadtables .sp This command is used to load a set of binary character tables that can be -accessed by the tables=3 qualifier. Such tables can be created by the +accessed by the tables=3 qualifier. Such tables can be created by the \fBpcre2_dftables\fP program with the -b option. .sp #newline_default [] @@ -1002,7 +1002,7 @@ with different character tables. The digit specifies the tables as follows: 1 the default ASCII tables, as distributed in pcre2_chartables.c.dist 2 a set of tables defining ISO 8859 characters - 3 a set of tables loaded by the #loadtables command + 3 a set of tables loaded by the #loadtables command .sp In tables 2, some characters whose codes are greater than 128 are identified as letters, digits, spaces, etc. Tables 3 can be used only after a @@ -1033,9 +1033,9 @@ process. substitute_callout use substitution callouts substitute_extended use PCRE2_SUBSTITUTE_EXTENDED substitute_literal use PCRE2_SUBSTITUTE_LITERAL - substitute_matched use PCRE2_SUBSTITUTE_MATCHED + substitute_matched use PCRE2_SUBSTITUTE_MATCHED substitute_overflow_length use PCRE2_SUBSTITUTE_OVERFLOW_LENGTH - substitute_replacement_only use PCRE2_SUBSTITUTE_REPLACEMENT_ONLY + substitute_replacement_only use PCRE2_SUBSTITUTE_REPLACEMENT_ONLY substitute_skip= skip substitution substitute_stop= skip substitution and following substitute_unknown_unset use PCRE2_SUBSTITUTE_UNKNOWN_UNSET @@ -1212,10 +1212,10 @@ pattern. startoffset= same as offset= substitute_callout use substitution callouts substitute_extedded use PCRE2_SUBSTITUTE_EXTENDED - substitute_literal use PCRE2_SUBSTITUTE_LITERAL - substitute_matched use PCRE2_SUBSTITUTE_MATCHED + substitute_literal use PCRE2_SUBSTITUTE_LITERAL + substitute_matched use PCRE2_SUBSTITUTE_MATCHED substitute_overflow_length use PCRE2_SUBSTITUTE_OVERFLOW_LENGTH - substitute_replacement_only use PCRE2_SUBSTITUTE_REPLACEMENT_ONLY + substitute_replacement_only use PCRE2_SUBSTITUTE_REPLACEMENT_ONLY substitute_skip= skip substitution number n substitute_stop= skip substitution number n and greater substitute_unknown_unset use PCRE2_SUBSTITUTE_UNKNOWN_UNSET @@ -1379,7 +1379,7 @@ by name. .rs .sp If the \fBreplace\fP modifier is set, the \fBpcre2_substitute()\fP function is -called instead of one of the matching functions (or after one call of +called instead of one of the matching functions (or after one call of \fBpcre2_match()\fP in the case of PCRE2_SUBSTITUTE_MATCHED). Note that replacement strings cannot contain commas, because a comma signifies the end of a modifier. This is not thought to be an issue in a test program. @@ -1396,10 +1396,10 @@ for \fBpcre2_substitute()\fP: .sp global PCRE2_SUBSTITUTE_GLOBAL substitute_extended PCRE2_SUBSTITUTE_EXTENDED - substitute_literal PCRE2_SUBSTITUTE_LITERAL - substitute_matched PCRE2_SUBSTITUTE_MATCHED + substitute_literal PCRE2_SUBSTITUTE_LITERAL + substitute_matched PCRE2_SUBSTITUTE_MATCHED substitute_overflow_length PCRE2_SUBSTITUTE_OVERFLOW_LENGTH - substitute_replacement_only PCRE2_SUBSTITUTE_REPLACEMENT_ONLY + substitute_replacement_only PCRE2_SUBSTITUTE_REPLACEMENT_ONLY substitute_unknown_unset PCRE2_SUBSTITUTE_UNKNOWN_UNSET substitute_unset_empty PCRE2_SUBSTITUTE_UNSET_EMPTY .sp diff --git a/doc/pcre2unicode.3 b/doc/pcre2unicode.3 index 9a2ce4b..055a4ce 100644 --- a/doc/pcre2unicode.3 +++ b/doc/pcre2unicode.3 @@ -134,7 +134,7 @@ of Unicode properties except for characters whose code points are less than 128 and that have at most two case-equivalent values. For these, a direct table lookup is used for speed. A few Unicode characters such as Greek sigma have more than two code points that are case-equivalent, and these are treated -specially. Setting PCRE2_UCP without PCRE2_UTF allows Unicode-style case +specially. Setting PCRE2_UCP without PCRE2_UTF allows Unicode-style case processing for non-UTF character encodings such as UCS-2. . . -- cgit v1.2.1