I want to create a regular expression that will match all subdomains except
admin.
example.com.
So, the regex is:
^(https?:\/\/)?((?!admin\.example\.com).)*example\.com
It works as expected.
Now I want to convert the regex to use in regexFilter:
^(https?://)?((?!admin\\.example\\.com).)*example\\.com
If I insert this expression, I get an error.
In this regard, my question is:
does declarativeNetRequest support such a regex?
How should I modify the expression?