Regex:在字符串列表中将数字和“#”前面的注释配对因此,我有一些文本行存储在一个列表中,如下所示: lines = ['1.9 #comment 1.11* 1.5 # another comment', '1.23', ...2024-05-15 已阅读: n次