[英]RegEx in Sublime Text: Match any character, including newlines?
Is there a way to match any character in Sublime Text, including newlines? 有没有办法匹配Sublime Text中的任何字符,包括换行符? I saw that Sublime uses Boost's syntax but that the .
我看到Sublime使用Boost的语法,但是.
character won't match newlines without a specific flag set. 如果没有设置特定标志,字符将不匹配换行符。
Try adding the (?s)
inline flag start the start of the pattern. 尝试添加(?s)
内联标志启动模式的开始。 That will make .
这将使.
match any character. 匹配任何角色。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.