lautaroangelico/WebEngine

IP validation doesn't support IPV6

lautaroangelico opened this issue · 1 comments

return (bool)preg_match("/^(1?\d{1,2}|2([0-4]\d|5[0-5]))(\.(1?\d{1,2}|2([0-4]\d|5[0-5]))){3}$/", $string);

Updated in commit #86a6033