Comment #9 on issue 18259 by [email protected]: Match patterns are  
kinda lame
http://code.google.com/p/chromium/issues/detail?id=18259

 From thread:
http://groups.google.com/group/chromium-extensions/browse_thread/thread/9c9a680fd9cff8f3#

Suggestion: Would be nice if the Host part of the match pattern would
allow OR syntax e.g

http://in.yahoo.com/*
http://cn.yahoo.com/*
http://br.yahoo.com/*
http://au.yahoo.com/*

can be written as below in manifest.json

http://(in|cn|br|au).yahoo.com/*

Also the (country)suffix portion:

http://www.ebay.com.in/*
http://www.ebay.com.cn/*
http://www.ebay.com.br/*
http://www.ebay.com.au/*

to

http://www.ebay.com.(in|cn|br|au)/*

Another case:

http://www.yahoo.co.in/*
http://www.yahoo.co.cn/*
http://www.yahoo.co.br/*
http://www.yahoo.co.au/*

can be written as below in manifest.json

http://www.yahoo.co.(in|cn|br|au)/*

In last two cases don't allow '*' as in http://www.ebay.com.*/* or
http://www.yahoo.co.*/* but (in|cn|br|au) pattern should be allowed.



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to