Regular Expression does not work as expected on CDATA area

Hello!

I have an incorrect regular expression behavior. On Trados  2021 and on a XML 2 defined by document  structure  I want to translate the content in yellow of alt on tags like:

<img alt="El picking por radiofrecuencia requiere la utilización de terminales de radiofrecuencia y de un software de gestión de almacenes" class="corporate--image" src="/documents/20128/4452086/M44P01+picking-radiofrecuencia-software-gestion-almacenes.jpg/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx?t=1660730394000" />

To do this I insert the following regular expression on CDATA area  Start tag: <img alt="  and End tag: ".+?/>

But the result of this is on this way:

As you can see it takes correctly the start rule but not the end rule that takes all the text until the end tag />

The rule works fine in RegexBuddy but not in Studio.

But if I change the End tag from ".+?/>  to "\s.+?/> (this means inserting a blank space after " ) it works fine as you can see:

Is this a bug in Studio or something I am doing incorrectly?

First rule attempt seems to be correct but does not work as expected.

Regards. 

emoji