From a5d3433f3910733491a934c22c2ac5021e107439 Mon Sep 17 00:00:00 2001 From: Zzqqbs Date: Fri, 17 Jan 2020 13:48:57 +0800 Subject: [PATCH] Correct mistakes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更正几处书写错误: regexp -> regex regext -> regex --- README.md | 2 +- data/ookla-speedtest-ads | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4341af83..ab1405ea 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Syntax: * Keyword begins with `keyword:`, followed by a string. * Regular expression begins with `regex:`, followed by a valid regular expression (per Golang's standard). * Full domain begins with `full:`, followed by a domain. -* Domains (including `domain`, `keyword`, `regext` and `full`) may have one or more attributes. Each attribute begins with `@` and followed by the name of the attribute. +* Domains (including `domain`, `keyword`, `regex` and `full`) may have one or more attributes. Each attribute begins with `@` and followed by the name of the attribute. ## How it works diff --git a/data/ookla-speedtest-ads b/data/ookla-speedtest-ads index d99b611a..7a081a00 100644 --- a/data/ookla-speedtest-ads +++ b/data/ookla-speedtest-ads @@ -1 +1 @@ -regexp:^speed\.(coe|open)\.ad\.[a-z]{2,6}\.prod\.hosts\.ooklaserver\.net$ @ads +regex:^speed\.(coe|open)\.ad\.[a-z]{2,6}\.prod\.hosts\.ooklaserver\.net$ @ads