Arches, please stabilize this. It has a test suite that should pass, and the man page has some examples that you can try. Given a list of CIDR network blocks it will (by default) spit out a regex to match them. For example, $ echo "10.0.0.0/29 10.0.0.8/29" | hath ((10).(0).(0).(15|14|13|12|11|10|9|8|7|6|5|4|3|2|1|0))
amd64 stable
x86 stable. Closing.