I've researched a flag to use in Sublime that makes regex multiline.
Try Regex (?s)TdxBar.*?TAction
. The (?s)
tells Sublime that regex is multiline causing .
to also match with line breaks.
link
Edit (2018-09-19)
I recently ran into explanations on the internet and decided to supplement this answer.
This post in the Sublime forum on a new < in> engine for regex implemented in the software. The creator of the package control responds that the new engine is used for syntax highlight and reading the post discovers that the library Oniguruma is used in Sublime Text.
Entering the repository, I found where the (?s)
flag is documented : / p>
+ ONIG_SYNTAX_PERL and ONIG_SYNTAX_JAVA
(?s): dot (.) also matches newline
(?m): ^ matches after newline, $ matches before newline