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 2021/06/14 22:11:01 UTC

[GitHub] [trafficcontrol] rob05c commented on issue #5936: Add a glob blox + advanced/pcre box for invalidations

rob05c commented on issue #5936:
URL: https://github.com/apache/trafficcontrol/issues/5936#issuecomment-861028393


   Some notes: by "glob," we mean `*` as a wildcard. So, this will need to:
   1. escape all special characters in PCRE Regex with `\` (except `*`)
   2. then replace any `*` with the PCRE `.*`.
   
   Also, `*` is a valid URL character. So this will need to also allow users to use `**` to indicate a literal `*` in the URL. So:
   - the above replacing should _not_ replace `**` with `.*.*`, but rather with `\*`.
   - we should add a sentence to the UI explaining that.
   
   
   
   
   
   3:33
   Hm, * is valid in URL Path. So, maybe we need to make ** how people do literal *. Should be fine. And put a sentence saying that in the UI text.


-- 
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