Skip to content

Keep regex search working without native PCRE2#107

Merged
Gabriel-Darbord merged 4 commits into
mainfrom
make-pcre2-runtime-optional
Jul 18, 2026
Merged

Keep regex search working without native PCRE2#107
Gabriel-Darbord merged 4 commits into
mainfrom
make-pcre2-runtime-optional

Conversation

@Gabriel-Darbord

@Gabriel-Darbord Gabriel-Darbord commented Jul 17, 2026

Copy link
Copy Markdown
Member

Fixes #106.

PCRE2 remains an MCP baseline dependency and is still loaded automatically. Its Smalltalk package is not optional; only the native runtime library is.

The upstream change in pharo-pcre2#1 detects an absent platform library through UnifiedFFI search paths without exception handling. It must merge first.

This PR delegates MCP availability to that predicate and exercises the normal matcher-selection path when native PCRE2 is unavailable, confirming fallback to Pharo regex matching.

Verification

  • P13 MCP-Tests and MCP-UI-Tests: 718 passed
  • git diff --check

@Gabriel-Darbord Gabriel-Darbord changed the title Make PCRE2 an optional runtime enhancement Keep regex search working without native PCRE2 Jul 17, 2026
@Gabriel-Darbord
Gabriel-Darbord merged commit 0e9c435 into main Jul 18, 2026
5 of 9 checks passed
@Gabriel-Darbord
Gabriel-Darbord deleted the make-pcre2-runtime-optional branch July 18, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

should libpcre be needed to load MCP

1 participant