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

后端 未结 1 1403
不知归路
不知归路 2020-12-12 10:00

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

相关标签:
1条回答
  • 2020-12-12 10:24

    Try adding the (?s) inline flag start the start of the pattern. That will make . match any character.

    0 讨论(0)
提交回复
热议问题