Skip to content

Commit 09013d2

Browse files
authored
maint: portability improvements for UpdateAlways (#788)
Tidy up the code and prevent failures if the man implementation does not allow man-db like warnings (ex: mandoc). While at it, update the application date to match the last release and fix some recently introduced issues.
1 parent d4a3b9a commit 09013d2

File tree

11 files changed

+1545
-1544
lines changed

11 files changed

+1545
-1544
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dnl be defined as -RC2, for example. For real releases, it should be empty.
1111
m4_define(pcre2_major, [10])
1212
m4_define(pcre2_minor, [47])
1313
m4_define(pcre2_prerelease, [-DEV])
14-
m4_define(pcre2_date, [2024-06-09])
14+
m4_define(pcre2_date, [2025-08-27])
1515

1616
# Libtool shared library interface versions (current:revision:age)
1717
m4_define(libpcre2_8_version, [14:0:14])

doc/html/pcre2api.html

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ <h2><a name="SEC4" href="#TOC1">PCRE2 NATIVE API COMPILE CONTEXT FUNCTIONS</a></
167167
<br>
168168
<br>
169169
<b>int pcre2_set_max_varlookbehind(pcre2_compile_contest *<i>ccontext</i>,</b>
170-
<b>" uint32_t <i>value</i>);</b>
170+
<b> uint32_t <i>value</i>);</b>
171171
<br>
172172
<br>
173173
<b>int pcre2_set_newline(pcre2_compile_context *<i>ccontext</i>,</b>
@@ -273,7 +273,7 @@ <h2><a name="SEC6" href="#TOC1">PCRE2 NATIVE API STRING EXTRACTION FUNCTIONS</a>
273273
<br>
274274
<br>
275275
<b>int pcre2_substring_list_get(pcre2_match_data *<i>match_data</i>,</b>
276-
<b>" PCRE2_UCHAR ***<i>listptr</i>, PCRE2_SIZE **<i>lengthsptr</i>);</b>
276+
<b> PCRE2_UCHAR ***<i>listptr</i>, PCRE2_SIZE **<i>lengthsptr</i>);</b>
277277
</p>
278278
<h2><a name="SEC7" href="#TOC1">PCRE2 NATIVE API STRING SUBSTITUTION FUNCTION</a></h2>
279279
<p>
@@ -904,7 +904,7 @@ <h3>
904904
<br>
905905
<br>
906906
<b>int pcre2_set_max_varlookbehind(pcre2_compile_contest *<i>ccontext</i>,</b>
907-
<b>" uint32_t <i>value</i>);</b>
907+
<b> uint32_t <i>value</i>);</b>
908908
<br>
909909
<br>
910910
This sets a maximum length for the number of characters matched by a
@@ -1999,8 +1999,9 @@ <h3>
19991999
</pre>
20002000
This is an option whose main effect is at matching time. It does not change
20012001
what <b>pcre2_compile()</b> generates, but it does affect the output of the JIT
2002-
compiler. Setting this option is equivalent to calling <b>pcre2_set_optimize()</b>
2003-
with the <i>directive</i> parameter set to PCRE2_START_OPTIMIZE_OFF.
2002+
compiler. Setting this option is equivalent to calling
2003+
<b>pcre2_set_optimize()</b> with the <i>directive</i> parameter set to
2004+
PCRE2_START_OPTIMIZE_OFF.
20042005
</p>
20052006
<p>
20062007
There are a number of optimizations that may occur at the start of a match, in
@@ -2073,9 +2074,9 @@ <h3>
20732074
<p>
20742075
The PCRE2_EXTRA_CASELESS_RESTRICT option (see above) restricts caseless
20752076
matching such that ASCII characters match only ASCII characters and non-ASCII
2076-
characters match only non-ASCII characters. The PCRE2_EXTRA_TURKISH_CASING option
2077-
(see above) alters the matching of the 'i' characters to follow their behaviour
2078-
in Turkish and Azeri languages. For further details on
2077+
characters match only non-ASCII characters. The PCRE2_EXTRA_TURKISH_CASING
2078+
option (see above) alters the matching of the 'i' characters to follow their
2079+
behaviour in Turkish and Azeri languages. For further details on
20792080
PCRE2_EXTRA_CASELESS_RESTRICT and PCRE2_EXTRA_TURKISH_CASING, see the
20802081
<a href="pcre2unicode.html"><b>pcre2unicode</b></a>
20812082
page.
@@ -3708,7 +3709,7 @@ <h2><a name="SEC35" href="#TOC1">EXTRACTING CAPTURED SUBSTRINGS BY NUMBER</a></h
37083709
<h2><a name="SEC36" href="#TOC1">EXTRACTING A LIST OF ALL CAPTURED SUBSTRINGS</a></h2>
37093710
<p>
37103711
<b>int pcre2_substring_list_get(pcre2_match_data *<i>match_data</i>,</b>
3711-
<b>" PCRE2_UCHAR ***<i>listptr</i>, PCRE2_SIZE **<i>lengthsptr</i>);</b>
3712+
<b> PCRE2_UCHAR ***<i>listptr</i>, PCRE2_SIZE **<i>lengthsptr</i>);</b>
37123713
<br>
37133714
<br>
37143715
<b>void pcre2_substring_list_free(PCRE2_UCHAR **<i>list</i>);</b>
@@ -3942,8 +3943,8 @@ <h2><a name="SEC38" href="#TOC1">CREATING A NEW STRING WITH SUBSTITUTIONS</a></h
39423943
$_ insert the entire input string
39433944
$*MARK or ${*MARK} insert a control verb name
39443945
</pre>
3945-
Either a group number or a group name can be given for <i>n</i>, for example $2 or
3946-
$NAME. Curly brackets are required only if the following character would be
3946+
Either a group number or a group name can be given for <i>n</i>, for example $2
3947+
or $NAME. Curly brackets are required only if the following character would be
39473948
interpreted as part of the number or name. The number may be zero to include
39483949
the entire matched string. For example, if the pattern a(b)c is matched with
39493950
"=abc=" and the replacement string "+$1$0$1+", the result is "=+babcb+=".
@@ -4033,9 +4034,9 @@ <h2><a name="SEC38" href="#TOC1">CREATING A NEW STRING WITH SUBSTITUTIONS</a></h
40334034
page.
40344035
</p>
40354036
<p>
4036-
The Python form \g&#60;n&#62;, where the angle brackets are part of the syntax and <i>n</i>
4037-
is either a group name or number, is recognized as an alternative way of
4038-
inserting the contents of a group, for example \g&#60;3&#62;.
4037+
The Python form \g&#60;n&#62;, where the angle brackets are part of the syntax and
4038+
<i>n</i> is either a group name or number, is recognized as an alternative way
4039+
of inserting the contents of a group, for example \g&#60;3&#62;.
40394040
</p>
40404041
<p>
40414042
There are also four escape sequences for forcing the case of inserted letters.

doc/html/pcre2limits.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ <h2>
9999
REVISION
100100
</h2>
101101
<p>
102-
Last updated: 17 August 2025
102+
Last updated: 29 August 2025
103103
<br>
104104
Copyright &copy; 1997-2023 University of Cambridge.
105105
<br>

doc/html/pcre2pattern.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,11 @@ <h3>
180180
</h3>
181181
<p>
182182
If a pattern starts with (*NO_DOTSTAR_ANCHOR), it has the same effect as
183-
setting the PCRE2_NO_DOTSTAR_ANCHOR option, or calling <b>pcre2_set_optimize()</b>
184-
with a PCRE2_DOTSTAR_ANCHOR_OFF directive. This disables optimizations that
185-
apply to patterns whose top-level branches all start with .* (match any number
186-
of arbitrary characters). For more details, see the
183+
setting the PCRE2_NO_DOTSTAR_ANCHOR option, or
184+
calling <b>pcre2_set_optimize()</b> with a PCRE2_DOTSTAR_ANCHOR_OFF directive.
185+
This disables optimizations that apply to patterns whose top-level branches
186+
all start with .* (match any number of arbitrary characters). For more details,
187+
see the
187188
<a href="pcre2api.html"><b>pcre2api</b></a>
188189
documentation.
189190
</p>
@@ -4183,7 +4184,7 @@ <h2><a name="SEC33" href="#TOC1">AUTHOR</a></h2>
41834184
</p>
41844185
<h2><a name="SEC34" href="#TOC1">REVISION</a></h2>
41854186
<p>
4186-
Last updated: 17 August 2025
4187+
Last updated: 29 August 2025
41874188
<br>
41884189
Copyright &copy; 1997-2024 University of Cambridge.
41894190
<br>

0 commit comments

Comments
 (0)