Equals operator does strict matching of URL intercepted by the browser with the URL given in rule.
Contains operator does a substring search of string provided in rule inside the Url intercepted by Chrome.
String in Rule: yahoo Intercepted URL: https://www.yahoo.com/ Result: Match
String in Rule: com?a=1 Intercepted URL: https://www.got.com?a=2 Result: Does Not Match
Regex Match Operator matches a given Regex with the Url intercepted by chrome. You can also use the values of group expressions in your destination Urls.
URL Matches (Regex): /(.+)\.google/ig Destination: https://$1.google.com
In this case, above regex will be matched with intercepted URL. If regex is matched then $1 will be replaced in the destination URL and redirect happens to destination URL.
Wildcard match operator matches expression with the Url intercepted by chrome. We only support asterisk (
*) as wildcard operator.
* can match 0 or more characters in intercepted url. Please note that in wildcard match, complete url is matched with given expression and *’s can be replaced with respective values in destination Url.
Expression: *://*.yahoo.com URL: http://cricket.yahoo.com Result: $1 = http, $2 = cricket
Expression: *yahoo URL: http://www.yahoo.com Result: Does not match. Note the trails does not match
Expression: *yahoo* URL: http://www.yahoo.com Result: $1 = http://www. $2=.com
Expression: http://*.yahoo.com URL: http://cricket.yahoo.com/ Result: Does not match (Observe the trailing slash in URL)