Forum Discussion
Erich_Rockman_1
Cirrus
Dec 10, 2015Check Authorization / WWW-Authenticate headers
Hi. I am trying to make sure that the user what is trying to/has authenticated to a site w/ Basic Auth matches a user in a list. However, I cannot force the server to prompt if the user/pass is not a...
Hi Eduardo,
A regex will eat up CPU no matter how streamlined you get it. You can probably save a bit of CPU time by escaping the periods with a backslash:
http://image\.domain\.com/[a-zA-Z0-9/._-]+
Depending on what you want to do with the image references, you might be able to replace the regexp with a stream profile. What are you actually doing with the indices once you get them?
Aaron