```
#define DOMAIN "[a-z0-9]([-a-z0-9]*[a-z0-9])?"
#define TLD "[a-z]([-a-z0-9]*[a-z])?"
#define HOST "((" DOMAIN "." ")*" TLD ")|(" IPADDR ")"
```