正则有换行和没有换行的匹配方式

匹配包含换行的所有内容  ([sS]*)

匹配不包含换行的所有内容  (.*)

原文地址:https://www.cnblogs.com/zhaoyang-1989/p/4848609.html