mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Fix AdGuardHome keyword regex
This commit is contained in:
@@ -48,7 +48,7 @@ export class AdGuardHome extends BaseWriteStrategy {
|
||||
writeDomainKeywords(keywords: Set<string>): void {
|
||||
for (const keyword of keywords) {
|
||||
// Use regex to match keyword
|
||||
this.result.push(`/${escapeStringRegexp(keyword)}/`);
|
||||
this.result.push(`/${escapeStringRegexp(keyword, false)}/`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user