//正则表达式全局搜索第一个长度为1的字符 const readline = require("readline"); const rl = readline.createInterface({ input: process.stdin, output: process.stdout, }); rl.on("line", function (line) { ...