Added missing comments and fixed the float regex.