At 11:24 PM 4/28/00 -0500, Keith Calvert Ivey wrote: >At 28 Apr 00 17:41, Peter Scott <Peter@PSDT.com> wrote: > >Peter Scott <Peter@PSDT.com> wrote: > > > /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/&&!((1|$1|$2|$3|$4)&256) > >That doesn't work. Try 512.1.1.1, for example, or anything >else that has a number greater than 256 without the 256 bit >set. Try this: > > /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/&&($1|$2|$3|$4)<256 You're going to need that 1| in front of that chain though, otherwise it does a stringwise or. -- Peter Scott Pacific Systems Design Technologies ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe