Skip to content

Conversation

@sverker
Copy link
Contributor

@sverker sverker commented Nov 19, 2025

Version 10.47 of PCRE2 was released in October 20.

@sverker sverker self-assigned this Nov 19, 2025
@sverker sverker added team:VM Assigned to OTP team VM enhancement testing currently being tested, tag is used by OTP internal CI labels Nov 19, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 19, 2025

CT Test Results

    4 files    228 suites   1h 56m 45s ⏱️
3 734 tests 3 630 ✅ 104 💤 0 ❌
4 864 runs  4 735 ✅ 129 💤 0 ❌

Results for commit 73b558c.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@sverker sverker force-pushed the sverker/erts/PCRE2-update-10.47 branch from fd56f62 to 7c88e19 Compare November 25, 2025 12:55
@sverker sverker force-pushed the sverker/erts/PCRE2-update-10.47 branch from 7c88e19 to aacb590 Compare November 25, 2025 17:04
To make PCRE updating easier.
…ed values (erlang#826)

Fixes low-severity valgrind error reported in GHSA-q7rw-r7qq-2hx6.


Cherry-picked edc111a6831591f68b5355a08cc9df8be8f35304
from upstream https://github.com/PCRE2Project/pcre2
to get this fix into OTP 28.3 and silence valgrind.
@sverker sverker force-pushed the sverker/erts/PCRE2-update-10.47 branch from 0ba3bb0 to 73b558c Compare November 27, 2025 15:42
@sverker sverker requested a review from Copilot November 27, 2025 18:01
Copilot finished reviewing on behalf of sverker November 27, 2025 18:02
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the PCRE2 (Perl Compatible Regular Expressions) library from version 10.46 to 10.47, released in October 2024. The update includes upstream changes to the PCRE2 library code, corresponding test file updates, and documentation updates.

Key Changes

  • Updated PCRE2 library from version 10.46 to 10.47 with numerous upstream improvements
  • Modified test files to accommodate new PCRE2 behavior and test cases
  • Added support for \N{U+} syntax for Unicode characters
  • Enhanced error messages with location information
  • Fixed test expectations for changed regex compilation error offsets

Reviewed changes

Copilot reviewed 44 out of 46 changed files in this pull request and generated no comments.

Show a summary per file
File Description
erts/emulator/pcre/vendor.info Updated version from 10.46 to 10.47 and SHA hash
lib/stdlib/test/run_pcre_tests.erl Refactored multi_hex_esc function to use new hex_num helper and added \N{U+} support
lib/stdlib/test/re_testoutput1_split_test.erl Added run68() function, fixed typo in regex pattern (z→Z), and reorganized test run functions
lib/stdlib/test/re_SUITE_data/testoutput* Updated test outputs with new error message formats and additional test cases
lib/stdlib/test/re_SUITE.erl Made error position assertion more flexible in test
lib/stdlib/doc/src/re.md Updated documentation for new PCRE2 features and corrected section references
erts/emulator/pcre/*.c Multiple PCRE2 core library updates including new features, bug fixes, and refactoring
erts/emulator/pcre/pcre2_compile_cgroup.c New file for capture group compilation logic
erts/emulator/pcre/LICENCE Updated license text and formatting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant