Vidalia
0.2.15
|
#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 19 of file IpValidator.cpp.
#define MATCH_ALL "*" |
Match all IP addresses.
Definition at line 24 of file IpValidator.cpp.
Referenced by IpValidator::validate().