mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-10-09 12:51:45 -04:00
Merge pull request #3522 from lightpanda-io/regex-shared
`Regex`: share the PCRE2 wrapper; `findElement` matches names by `/regex/`
This commit is contained in:
11 files changed
+321
-99
No files matched your search
@@ -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^
|
||||
|
||||
Reference in new issue
Block a user