Github for example is listed in the locationbar as https://github.com. When adding it to the whitelist as "this website only" the corresponding regex is ^github\.com$. When adding "with subdomains" the corresponding regex is .*\.github\.com$ (note the second period) which doesn't cover https://github.com obviously.
Github for example is listed in the locationbar as
https://github.com
. When adding it to the whitelist as "this website only" the corresponding regex is^github\.com$
. When adding "with subdomains" the corresponding regex is.*\.github\.com$
(note the second period) which doesn't coverhttps://github.com
obviously.