def ExtractFloat(regex, text, group=1):
  return float(ExtractGroup(regex, text, group=group))
Append the token's subtype only if it's not already set.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/regex_util.py/ExtractFloat--crossover with--dataset/ETHPy150Open google/yapf/yapf/yapflib/subtype_assigner.py/_SubtypeAssigner._AppendTokenSubtype