Hi,

I am trying to use the ipaddr ir ipv4 filter to test if a string is a valid 
ip address. 

10.247.1.1 -> True
10.247.1.  -> False

10.247      -> True -> 10.247.0.0



The last condition returns True even if the text only contains a portion of 
IP Address. Is there a way to force the filter to fail in this condition 
and pass only when all 4 parts are available?

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a6ff388a-415f-4816-b985-a33900bd8fd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to