From 6be61ccaead7d9a182f40ee2307d9445e57433cc Mon Sep 17 00:00:00 2001 From: Max Lv Date: Sat, 17 Dec 2016 07:27:32 +0800 Subject: [PATCH] Refine regex --- acl/gfwlist.acl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acl/gfwlist.acl b/acl/gfwlist.acl index 69e36027..f513f05f 100644 --- a/acl/gfwlist.acl +++ b/acl/gfwlist.acl @@ -339,8 +339,8 @@ ^(.*\.)?gmail\.com$ ^(.*\.)?gmodules\.com$ ^(.*\.)?goo\.gl$ -^(.*\.)?google\..*$ -^(.*\.)?googleapis\..*$ +^(.*\.)?google(\.[^.]{2,4}){1,2}$ +^(.*\.)?googleapis(\.[^.]{2,4}){1,2}$ ^(.*\.)?googleapps\.com$ ^(.*\.)?googleartproject\.com$ ^(.*\.)?googleblog\.com$