#include "IpValidator.h"Go to the source code of this file.
Defines | |
| #define | IP_REGEXP |
| #define | MATCH_ALL "*" |
| #define IP_REGEXP |
"\\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"\ "\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"\ "\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"\ "\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\b"
Regular expression to validate that input is a valid IP address.
Definition at line 20 of file IpValidator.cpp.
| #define MATCH_ALL "*" |
Match all IP addresses.
Definition at line 25 of file IpValidator.cpp.
Referenced by PortValidator::validate(), and IpValidator::validate().
1.6.3