@ViniwDOrazio

Yes, when working with multi-line matches enclosed by the same pre- and suffix, you should try to match something unique before the prefix.
If the number of lines is fixed, you could also adjust the offset configuration parameter accordingly.