(?:.|\r\n) 或 [\s\S] 或 [\d\D] 或 [\w\W]
(?:.|\r\n)+ 或 [\s\S]+
(?:.|\r\n)+?
理想结果——
// warn: 贪婪匹配
(?:.|\s)+
(?:.|\r\n)+
// info:惰性匹配
(?:.|\s)+?
// boost
[\s\S]*?
获取任意不定长换行标签子项,有开始条件和结束条件——
<abc>((?:.|\s)+?)</abc>
匹配一个换行——
// error: 会多匹配数据,遇到字符'.'也会终止匹配
[^.]+?
// stl
\s*\r\n\s*
// boost or stl
// 引用:http://topic.csdn.net/u/20091014/18/1468bb4c-b118-4169-aaea-07bca5dcfbb6.html
[.]*?