You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/11/13 16:11:46 UTC

[GitHub] [trafficcontrol] mitchell852 edited a comment on issue #5279: regex_revalidate.config should never have 1+ rule for the same asset regex/pattern

mitchell852 edited a comment on issue #5279:
URL: https://github.com/apache/trafficcontrol/issues/5279#issuecomment-726838509


   > we can check for asset URLs that are exactly the same, but it's literally impossible to prevent overlapping rules from existing, unless we're going to disallow regular expressions.
   
   yes, you are right @ocket8888 - overlapping rules will always be possible due to how regex works but "duplicate" rules (exact same regex) are the problematic ones. If there are multiple rules of the exact same regex in regex_revalidate.config, only one is respected, the rest are ignored.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org