CIDR support for autocat validation regexp

To my knowledge, autocategorization accepts CIDR syntax.

I've changed the validation regexp from IP-only to CIDR.