diff --git a/Syntax.md b/Syntax.md index 94951ad..a8cbe8c 100644 --- a/Syntax.md +++ b/Syntax.md @@ -1 +1,17 @@ -GFWList syntax originated from [ABP filters](https://adblockplus.org/filters). \ No newline at end of file +GFWList syntax originated from [ABP filters](https://adblockplus.org/filters). + +* `|`: Stands for matching from beginning (In [URI](http://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml), it's **scheme**): e.g.`http://example.com` will match: + +`http://example.com` +`http://example.com/page` +`http://example.com.co` + +It will **NOT** match: + +`http://ns.example.com` +`https://example.com/page` +`https://example.com` +`https://ns.example.com` +`https://example.com.co` + +***