🌈 搜索
📅  最后修改于: 2022-03-11 14:45:31.561000             🧑  作者: Mango
>>> import re >>> strs = "foo\tbar\t\tspam" >>> re.split(r'\t+', strs) ['foo', 'bar', 'spam']