
regex test
Hi
I have the folowing basic config on an ASA
regex string1 "test"
regex string2 "*test*"
I then use
test regex string1 test and get INFO: regular expression failed
test regex string2 test and get INFO: regular expression failed
Am I using the test command correctly
Thanks for your help
Comments
Here is a nice post on the test regex feature.
http://www.wr-mem.com/?p=129
Hi Anthony
thanks for the response
I had a look at the link
here they use
test regex thestringtheywanttotest they use 3 parameters
on my ASA
if I type
test regex "test" it gives me incomplete command 3 parameters
if I type
test regex "test" "test" it works 4 parameters
not sure why it has to be like this but it works.
Thanks Again