Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

ACE 4710 regex matching

I've seen different samples for matching file types:

class-map type http loadbalance match-any regex_test
  2 match http url .*jpg
  3 match http url .*\.jpg
  4 match http url .+\.[Jj][Pp][Gg]

Are all of the above correct (for matching .jpg)? If yes, would the .+\.[Jj][Pp][Gg] be better since it matches both upper and lower case?

TIA.

Everyone's tags (1)
737
Views
0
Helpful
0
Replies
CreatePlease to create content