尝试优雅地使用“或”运算符 我有一小段正则表达式,用于生成新字符串: someinput = "some/very/long/string" changedinput = re.match("(.*\/)", str(t ...2024-07-01 已阅读: n次