比如说我要匹配 1.first 2.second second 3.third 用字符串表示就是1.first\n2.second\nsecond\n3.third\n, 怎么匹配成["1.first\n", "2.second\nsecond\n", "3.third\n"] 谢谢谢谢
收起
\d.[a-zA-Z\n]+ 终于想到了!!
报告相同问题?