Feature #3336
Updated by Venmuhilan B about 1 year ago
Today, the user can add "<regex>" to list of regexes and if these regexes are present in the requested o-url, showCopilot is returned as true in the API response. Please add support for user to add "-<regex>" to the list. In this case, if this regex is present in the requested o-url, showCopilot should be returned as false in the API response. So, example could be ["*007*", "-/", "-/pricing", "-/about", "-/contact", "-/blog*", -/, -/pricing, -/about, -/contact, -/blog*, "-/*badminton*"]. In this case, showCopilot would be returned as false for -fqdnp/ -fqdnp/pricing -fqdnp/about -fqdnp/contact -fqdnp/blog -fqdnp/blog123 -fqdnp/top-5-best-badminton-racket-under-1500-playos-ultimate-guide/ -fqdnp/classes/objects/blog123 but true for -fqdnp/classes/what007/modules -fqdnp/blog007 -fqdnp/blog-what-is-ai-007 [Note : if both "-<regex>" and "*<regex>*" are present in the URL, and we can prioritize "*<regex>*" over "-<regex>" and return true based on the "*<regex>*" condition.] where fqdnp is meant to be http://domainName or https://domainName.