3 ms·
Seems like a case where I would just \d+\.\d+\.\d+\.\d+ and validate it in code
by donatj 4y ago
Seems like a case where I would just \d+\.\d+\.\d+\.\d+ and validate it in code
- asojfdowgh 4y agocan 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 }> $/