can still do that logic too, without leaving the parsing step, per say
/^ (\d+) ** 4 % \. <?{ $/[0].all <= 255 }> $/
or if wanting it really explicit /^ (\d+) \. (\d+) \. (\d+) \. (\d+) <?{ $/.all <= 255 }> $/