Yes, Perl's //s modifier isn't available on Vim regexes.  See :h perl-patterns for details and a list of other differences between Vim and Perl regexes.
Instead you can use \_., which means "match any single character including newline".  It's a bit shorter than what you have.  See :h /\_..
/This\_.*text/
    
                If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With