Is there a way to match any character in Sublime Text, including newlines? I saw that Sublime uses Boost\'s syntax but that the . character won\'t match newline
.
Try adding the (?s) inline flag start the start of the pattern. That will make . match any character.
(?s)