Updated regex to handle 99.99.99.99 version pattern