[doc] Update version regex check.