ah, NOW i get it! It was the first dot that did it, it wasnt escaped!

First:
Home-ASA(config)# test regex http://www.facebook.com "*.facebook\.com.*"
INFO: Regular expression match failed.

Changed:
Home-ASA(config)# test regex http://www.facebook.com ".*\.facebook\.com.*"
INFO: Regular expression match succeeded.

.* = 0, 1 or many of any character
\. = dot

But I dont really get it why it works in your example when you end the regex
with "com*". In my opinion that should only match strings where "com"
follows directly by nothing OR more "m":s. Like "c", then and "o", then and
"m", and then 0 or more of that last character (m). In condradiction to
"com.*" that says "com" followed by 0 or more (*) of that last
character(dot, which means ANY character).

Or am I wrong?

Br Jimmy
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Reply via email to