When you create a modification rule, you will find the following operators – Equals, Contains, Matches (Regex), Matches (Wildcard). In this documentation, we explain all operators and use cases.
Equals operator does strict matching of URL intercepted by the browser with the URL given in rule.
Note that when you open www.example.com in browser, URL intercepted is www.example.com/. Note a trailing ‘/’ slash at the end of URL. A rule with Equals operator and URL as www.example.com does not match www.example.com/. You may consider adding Slash (‘/’) at the end of URL in your rule. You can alternatively create two pairs in the same rule as well.
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
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.