在字符串中的数字周围添加[]我喜欢在字符串中的任何数字序列周围加上[],例如 "pixel1blue pin10off output2high foo9182bar" 应转换为 "pixel[1]blue pin[10]off ...2024-06-09 已阅读: n次