Test, validate and match regular expressions
Matches IPv4 addresses with advanced validation, supporting values 0-255 per octet, optional leading zeros, and wildcard asterisks. Uses named capture groups (a, b, c, d) for each octet and includes boundary checks to prevent partial matches within larger numbers. Ideal for network configuration parsing, firewall rules, or CIDR notation where wildcards represent subnet ranges.