Merge pull request #3522 from lightpanda-io/regex-shared

`Regex`: share the PCRE2 wrapper; `findElement` matches names by `/regex/`
This commit is contained in:
Karl Seguin authored and GitHub committed 2026-09-16 16:55:40 +08:00
commit afbc8378b1
11 files changed
+321 -99

No files matched your search

+1 -1
View File
@@ -4431,7 +4431,7 @@ test "HttpClient: adblock verdicts apply per request" {
var client: Client = undefined;
initTestClient(&client, &pool);
var blocker: AdBlocker = try .init(testing.allocator);
var blocker: AdBlocker = try .init(testing.allocator, testing.test_app.regex_context);
defer blocker.deinit();
var list: std.Io.Reader = .fixed(
\\||ads.example.com^