【python】各种匹配

彩屏黑白 / 2024-09-26 / 原文

匹配数字

re.findall(r'\d+\.\d+|\d+', content)