Forum Discussion
Rostislav_Zatol
Dec 11, 2009Nimbostratus
Hello,
Trying to proceed with my idea, but have found following problem:
If I user REGEX to search for IP adress format string, I have to use {} brackets.
STREAM::expression {@\"xsd:string\">\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}@"xsd:string">[IP::client_addr]@}
But it seems in this case variable [IP::client_addr] is nor available for replacement.
Have tryed with "", the REGEXP doese not match.
If I dont use REGEXP and try to match to test device with hardcoded IP, it works:
STREAM::expression "@\"xsd:string">10.0.0.139@\"xsd:string\">[IP::client_addr]@"
Any Ideas to bring both cases together? I dont want to search with *.*.*.* for IP address.
BR
RZ