Project

General

Profile

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*]. In this case, showCopilot would be returned as false for  
 -fqdnp/ 
 -fqdnp/pricing 
 -fqdnp/about 
 -fqdnp/contact 
 -fqdnp/blog 
 -fqdnp/blog123 

 but true for 
 -fqdnp/blog007 
 -fqdnp/blog-what-is-ai-007 
 -fqdnp/what-is-ai 

 [Note : if both "-<regex>" and "*<regex>*" are present in the URL, and we can prioritize "*<regex>*" *<regex>* over "-<regex>" and return true based on the "*<regex>*" *<regex>* condition.] 

 where fqdnp is meant to be http://domainName or https://domainName. 

Back