Skip to content

Commit 6ae58be

Browse files
committed
Final file tidies for 10.44
1 parent 75582ff commit 6ae58be

File tree

11 files changed

+67
-55
lines changed

11 files changed

+67
-55
lines changed

ChangeLog

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Change Log for PCRE2
44
Before the move to GitHub, this was the only record of changes to PCRE2. Now
55
there is also the log of commit messages.
66

7-
Version 10.44 xx-xxx-2024
8-
-------------------------
7+
Version 10.44 07-June-2024
8+
--------------------------
99

1010
1. If a pattern contained a variable-length lookbehind in which the first
1111
branch was not the one with the shortest minimum length, and the lookbehind
@@ -17,7 +17,7 @@ example pattern is: /(((?<=123?456456|ABC)))(?<=\2)/
1717
2. Further updates to the oss-fuzz support:
1818

1919
(a) Limit quantifiers for groups and classes to be no more than 10. This
20-
avoide very long JIT compile times that happen in some cases when groups
20+
avoids very long JIT compile times that happen in some cases when groups
2121
are replicated for quantification, and very long match times when
2222
classes contain a lot of non-ascii characters.
2323

@@ -41,7 +41,7 @@ example pattern is: /(((?<=123?456456|ABC)))(?<=\2)/
4141
there is a user for whom 32 is too small.
4242

4343
4. Cause pcre2test to output a message when pcre2_jit_compile() gives an error
44-
return if either jitverify or info is specified/
44+
return if either jitverify or info is specified.
4545

4646
5. Some auxiliary files for building under OpenVMS that were contributed by
4747
Alexey Chupahin have been installed.
@@ -55,7 +55,7 @@ misunderstanding one of the grapheme sequence breaking rules in Unicode Annex
5555
break property unless a zero-width joiner intervenes. PCRE2 was not insisting
5656
on the ZWJ, causing \X to match more than it should. See GitHub issue #410.
5757

58-
8. Avoid compilation issues with propietary compilers in UNIX since 10.43.
58+
8. Avoid compilation issues with proprietary compilers in UNIX since 10.43.
5959

6060

6161
Version 10.43 16-February-2024

Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ EXTRA_DIST += \
482482
src/sljit/sljitNativeX86_32.c \
483483
src/sljit/sljitNativeX86_64.c \
484484
src/sljit/sljitNativeX86_common.c \
485+
src/sljit/sljitSerialize.c \
485486
src/sljit/sljitUtils.c \
486487
src/sljit/allocator_src/sljitExecAllocatorApple.c \
487488
src/sljit/allocator_src/sljitExecAllocatorCore.c \

NEWS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ News about PCRE2 releases
22
-------------------------
33

44

5+
Version 10.44 07-June-2024
6+
--------------------------
7+
8+
This is mostly a bug-fix and tidying release. There is one new function, to set
9+
a maximum size for a compiled pattern. The maximum name length for groups is
10+
increased to 128. Some auxiliary files for building under VMS are added.
11+
12+
513
Version 10.43 16-February-2024
614
------------------------------
715

NON-AUTOTOOLS-BUILD

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This document contains the following sections:
1313
Building PCRE2 on Windows with Visual Studio
1414
Testing with RunTest.bat
1515
Building PCRE2 on native z/OS and z/VM
16-
Building PCRE2 under VMS
16+
Building PCRE2 under VMS
1717

1818

1919
GENERAL
@@ -420,9 +420,9 @@ for the z/OS and z/VM versions of the Rexx languages.
420420

421421
BUILDING PCRE2 UNDER VMS
422422

423-
Alexey Chuphin has contributed some auxiliary files for building PCRE2 under
424-
OpenVMS. They are in the "vms" directory in the distribution tarball. Please
425-
read the file called vms/openvms_readme.txt. The pcre2test and pcre2grep
423+
Alexey Chuphin has contributed some auxiliary files for building PCRE2 under
424+
OpenVMS. They are in the "vms" directory in the distribution tarball. Please
425+
read the file called vms/openvms_readme.txt. The pcre2test and pcre2grep
426426
programs contain some VMS-specific code.
427427

428428
===========================

configure.ac

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ dnl be defined as -RC2, for example. For real releases, it should be empty.
1010

1111
m4_define(pcre2_major, [10])
1212
m4_define(pcre2_minor, [44])
13-
m4_define(pcre2_prerelease, [-DEV])
14-
m4_define(pcre2_date, [2024-03-11])
13+
m4_define(pcre2_prerelease, [])
14+
m4_define(pcre2_date, [2024-06-07])
1515

1616
# Libtool shared library interface versions (current:revision:age)
17-
m4_define(libpcre2_8_version, [12:0:12])
18-
m4_define(libpcre2_16_version, [12:0:12])
19-
m4_define(libpcre2_32_version, [12:0:12])
17+
m4_define(libpcre2_8_version, [13:0:13])
18+
m4_define(libpcre2_16_version, [13:0:13])
19+
m4_define(libpcre2_32_version, [13:0:13])
2020
m4_define(libpcre2_posix_version, [3:5:0])
2121

2222
# NOTE: The CMakeLists.txt file searches for the above variables in the first

doc/html/NON-AUTOTOOLS-BUILD.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This document contains the following sections:
1313
Building PCRE2 on Windows with Visual Studio
1414
Testing with RunTest.bat
1515
Building PCRE2 on native z/OS and z/VM
16-
Building PCRE2 under VMS
16+
Building PCRE2 under VMS
1717

1818

1919
GENERAL
@@ -420,9 +420,9 @@ for the z/OS and z/VM versions of the Rexx languages.
420420

421421
BUILDING PCRE2 UNDER VMS
422422

423-
Alexey Chuphin has contributed some auxiliary files for building PCRE2 under
424-
OpenVMS. They are in the "vms" directory in the distribution tarball. Please
425-
read the file called vms/openvms_readme.txt. The pcre2test and pcre2grep
423+
Alexey Chuphin has contributed some auxiliary files for building PCRE2 under
424+
OpenVMS. They are in the "vms" directory in the distribution tarball. Please
425+
read the file called vms/openvms_readme.txt. The pcre2test and pcre2grep
426426
programs contain some VMS-specific code.
427427

428428
===========================

doc/pcre2.txt

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ REVISION
189189

190190
PCRE2 10.38 27 August 2021 PCRE2(3)
191191
------------------------------------------------------------------------------
192-
193-
192+
193+
194194

195195
PCRE2API(3) Library Functions Manual PCRE2API(3)
196196

@@ -4018,8 +4018,8 @@ REVISION
40184018

40194019
PCRE2 10.44 24 April 2024 PCRE2API(3)
40204020
------------------------------------------------------------------------------
4021-
4022-
4021+
4022+
40234023

40244024
PCRE2BUILD(3) Library Functions Manual PCRE2BUILD(3)
40254025

@@ -4645,8 +4645,8 @@ REVISION
46454645

46464646
PCRE2 10.44 15 April 2024 PCRE2BUILD(3)
46474647
------------------------------------------------------------------------------
4648-
4649-
4648+
4649+
46504650

46514651
PCRE2CALLOUT(3) Library Functions Manual PCRE2CALLOUT(3)
46524652

@@ -5079,8 +5079,8 @@ REVISION
50795079

50805080
PCRE2 10.43 19 January 2024 PCRE2CALLOUT(3)
50815081
------------------------------------------------------------------------------
5082-
5083-
5082+
5083+
50845084

50855085
PCRE2COMPAT(3) Library Functions Manual PCRE2COMPAT(3)
50865086

@@ -5313,8 +5313,8 @@ REVISION
53135313

53145314
PCRE2 10.43 30 November 2023 PCRE2COMPAT(3)
53155315
------------------------------------------------------------------------------
5316-
5317-
5316+
5317+
53185318

53195319
PCRE2JIT(3) Library Functions Manual PCRE2JIT(3)
53205320

@@ -5760,8 +5760,8 @@ REVISION
57605760

57615761
PCRE2 10.43 21 February 2024 PCRE2JIT(3)
57625762
------------------------------------------------------------------------------
5763-
5764-
5763+
5764+
57655765

57665766
PCRE2LIMITS(3) Library Functions Manual PCRE2LIMITS(3)
57675767

@@ -5844,8 +5844,8 @@ REVISION
58445844

58455845
PCRE2 10.43 1 August 2023 PCRE2LIMITS(3)
58465846
------------------------------------------------------------------------------
5847-
5848-
5847+
5848+
58495849

58505850
PCRE2MATCHING(3) Library Functions Manual PCRE2MATCHING(3)
58515851

@@ -6073,8 +6073,8 @@ REVISION
60736073

60746074
PCRE2 10.43 19 January 2024 PCRE2MATCHING(3)
60756075
------------------------------------------------------------------------------
6076-
6077-
6076+
6077+
60786078

60796079
PCRE2PARTIAL(3) Library Functions Manual PCRE2PARTIAL(3)
60806080

@@ -6457,8 +6457,8 @@ REVISION
64576457

64586458
PCRE2 10.34 04 September 2019 PCRE2PARTIAL(3)
64596459
------------------------------------------------------------------------------
6460-
6461-
6460+
6461+
64626462

64636463
PCRE2PATTERN(3) Library Functions Manual PCRE2PATTERN(3)
64646464

@@ -10022,8 +10022,8 @@ REVISION
1002210022

1002310023
PCRE2 10.44 04 June 2024 PCRE2PATTERN(3)
1002410024
------------------------------------------------------------------------------
10025-
10026-
10025+
10026+
1002710027

1002810028
PCRE2PERFORM(3) Library Functions Manual PCRE2PERFORM(3)
1002910029

@@ -10278,8 +10278,8 @@ REVISION
1027810278

1027910279
PCRE2 10.41 27 July 2022 PCRE2PERFORM(3)
1028010280
------------------------------------------------------------------------------
10281-
10282-
10281+
10282+
1028310283

1028410284
PCRE2POSIX(3) Library Functions Manual PCRE2POSIX(3)
1028510285

@@ -10637,8 +10637,8 @@ REVISION
1063710637

1063810638
PCRE2 10.43 19 January 2024 PCRE2POSIX(3)
1063910639
------------------------------------------------------------------------------
10640-
10641-
10640+
10641+
1064210642

1064310643
PCRE2SAMPLE(3) Library Functions Manual PCRE2SAMPLE(3)
1064410644

@@ -10923,8 +10923,8 @@ REVISION
1092310923

1092410924
PCRE2 10.32 27 June 2018 PCRE2SERIALIZE(3)
1092510925
------------------------------------------------------------------------------
10926-
10927-
10926+
10927+
1092810928

1092910929
PCRE2SYNTAX(3) Library Functions Manual PCRE2SYNTAX(3)
1093010930

@@ -11510,8 +11510,8 @@ REVISION
1151011510

1151111511
PCRE2 10.43 12 October 2023 PCRE2SYNTAX(3)
1151211512
------------------------------------------------------------------------------
11513-
11514-
11513+
11514+
1151511515

1151611516
PCRE2UNICODE(3) Library Functions Manual PCRE2UNICODE(3)
1151711517

@@ -11976,5 +11976,5 @@ REVISION
1197611976

1197711977
PCRE2 10.43 04 February 2023 PCRE2UNICODE(3)
1197811978
------------------------------------------------------------------------------
11979-
11980-
11979+
11980+

doc/pcre2demo.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH PCRE2DEMO 3 " 4 June 2024" "PCRE2 10.43"
1+
.TH PCRE2DEMO 3 " 7 June 2024" "PCRE2 10.44"
22
.\"AUTOMATICALLY GENERATED BY PrepareRelease - do not EDIT!
33
.SH NAME
44
PCRE2DEMO - A demonstration C program for PCRE2

src/config.h.generic

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ sure both macros are undefined; an emulation function will then be used. */
245245
#define PACKAGE_NAME "PCRE2"
246246

247247
/* Define to the full name and version of this package. */
248-
#define PACKAGE_STRING "PCRE2 10.43"
248+
#define PACKAGE_STRING "PCRE2 10.44"
249249

250250
/* Define to the one symbol short name of this package. */
251251
#define PACKAGE_TARNAME "pcre2"
@@ -254,7 +254,7 @@ sure both macros are undefined; an emulation function will then be used. */
254254
#define PACKAGE_URL ""
255255

256256
/* Define to the version of this package. */
257-
#define PACKAGE_VERSION "10.43"
257+
#define PACKAGE_VERSION "10.44"
258258

259259
/* The value of PARENS_NEST_LIMIT specifies the maximum depth of nested
260260
parentheses (of any kind) in a pattern. This limits the amount of system
@@ -458,7 +458,7 @@ sure both macros are undefined; an emulation function will then be used. */
458458
#endif
459459

460460
/* Version number of package */
461-
#define VERSION "10.43"
461+
#define VERSION "10.44"
462462

463463
/* Number of bits in a file offset, on hosts where this is settable. */
464464
/* #undef _FILE_OFFSET_BITS */

src/pcre2.h.generic

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ POSSIBILITY OF SUCH DAMAGE.
4242
/* The current PCRE version information. */
4343

4444
#define PCRE2_MAJOR 10
45-
#define PCRE2_MINOR 43
45+
#define PCRE2_MINOR 44
4646
#define PCRE2_PRERELEASE
47-
#define PCRE2_DATE 2024-02-16
47+
#define PCRE2_DATE 2024-06-07
4848

4949
/* When an application links to a PCRE DLL in Windows, the symbols that are
5050
imported have to be identified as such. When building PCRE2, the appropriate
@@ -603,6 +603,8 @@ PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
603603
pcre2_set_compile_extra_options(pcre2_compile_context *, uint32_t); \
604604
PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
605605
pcre2_set_max_pattern_length(pcre2_compile_context *, PCRE2_SIZE); \
606+
PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
607+
pcre2_set_max_pattern_compiled_length(pcre2_compile_context *, PCRE2_SIZE); \
606608
PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
607609
pcre2_set_max_varlookbehind(pcre2_compile_context *, uint32_t); \
608610
PCRE2_EXP_DECL int PCRE2_CALL_CONVENTION \
@@ -901,6 +903,7 @@ pcre2_compile are called by application code. */
901903
#define pcre2_set_match_limit PCRE2_SUFFIX(pcre2_set_match_limit_)
902904
#define pcre2_set_max_varlookbehind PCRE2_SUFFIX(pcre2_set_max_varlookbehind_)
903905
#define pcre2_set_max_pattern_length PCRE2_SUFFIX(pcre2_set_max_pattern_length_)
906+
#define pcre2_set_max_pattern_compiled_length PCRE2_SUFFIX(pcre2_set_max_pattern_compiled_length_)
904907
#define pcre2_set_newline PCRE2_SUFFIX(pcre2_set_newline_)
905908
#define pcre2_set_parens_nest_limit PCRE2_SUFFIX(pcre2_set_parens_nest_limit_)
906909
#define pcre2_set_offset_limit PCRE2_SUFFIX(pcre2_set_offset_limit_)

0 commit comments

Comments
 (0)