如何使用正则表达式从字符串中提取double值.
import re pattr = re.compile(???) x = pattr.match("4.5")
python regex
python ×1
regex ×1