mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-19 16:55:02 +02:00
A synchronous, budget-bounded PCRE2 regex engine compiled to WebAssembly, buildable in this monorepo and consumable as a standalone open-source package. - Compile-time PCRE2 options and JS-compat flags are runtime-configurable via createPcre2RegexEngine(options); pure PCRE2 is the default, every JS-compat behavior is opt-in. - Reproducible wasm build (Docker-first, local emcc fallback), CI-checked for drift against the committed binary. Optimized build (-O3, LTO, closure, no exceptions/longjmp): wasm 848KB -> 346KB, JS glue 138KB -> 21KB. - PCRE2 and rust-regex vendored as pinned git submodules; a verify-tag script checks PCRE2's GPG-signed release tags before a version bump. - Test corpus rebuilt for size and provenance: minified, tuple-encoded, deduped, deduplicated subject strings, genericized naming, and scrubbed of internal/company-identifying content ahead of open-sourcing. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
7 lines
333 B
Plaintext
7 lines
333 B
Plaintext
[submodule "packages/@n8n/regex-engine-pcre2/vendor/pcre2"]
|
|
path = packages/@n8n/regex-engine-pcre2/vendor/pcre2
|
|
url = https://github.com/PCRE2Project/pcre2.git
|
|
[submodule "packages/@n8n/regex-engine-pcre2/vendor/rust-regex"]
|
|
path = packages/@n8n/regex-engine-pcre2/vendor/rust-regex
|
|
url = https://github.com/rust-lang/regex.git
|