RegEx in Sublime Text: matching any character, including newlines?

Is there a way to match any character in Sublime Text, including newlines? I saw that Sublime uses Boost syntax but character . will not match newlines without a specific set of flags.

+75
regex sublimetext2
Aug 16 '12 at 17:37
source share
1 answer

Try adding the inline flag (?s) , starting at the beginning of the template. This will lead to that . will match any character.

+130
Aug 16 2018-12-18T00:
source share



All Articles